Decimal.toFixedDecimal

FixedDecimal!long toFixedDecimal( ref DecimalContext ctx) const @safe pure

Checked conversion to a runtime-scale FixedDecimal!long (18 digits, scale 0..18): quantum beyond the fixed range or coefficients beyond 18 digits round under the context.

Throws

DecimalException for specials (no fixed-point form).