renderDecimal

fnstring renderDecimal(long coeff, ubyte scale) @safe pure nothrow

Renders a coefficient at the given scale as decimal text.

Parameters

coeffthe raw coefficient
scalethe fraction digits

Returns

the rendered text (e.g. "19.99" for 1999 at scale 2).