DecimalControl.precision

Gets or sets the precision applied to peration results. See Precision for details.

DecimalControl.precision = precisionDefault;
decimal32 d1 = 12345;
assert(d1 == 12345);

DecimalControl.precision = 4;
decimal32 d2 = 12345;
assert(d2 == 12350);
struct DecimalControl
static
Precision precision;

Meta