Calcurate floor value.
floor value.
assert(Decimal(10, 1).floor == Decimal(1, 0)); assert(Decimal(11, 1).floor == Decimal(1, 0)); assert(Decimal(10001, 4).floor == Decimal(1, 0)); assert(Decimal(20001, 4).floor == Decimal(2, 0));
See Implementation
Calcurate floor value.