FixedDecimal!S.toDecimal
Converts exactly from binary to decimal fixed point. This is a free function (also callable with UFCS); neither family needs to depend on conversion members in the other. The decimal family's own parse enforces its precision. Allocates the exact decimal text.
Parameters
S | decimal storage (byte through long, or Int128). |
value | binary value to convert exactly. |
Returns
the exact value as a
Throws
FixedDecimalException if the decimal storage is too narrow.