String representation.
assert(Decimal(123456, 3).toString == "123.456"); assert(Decimal(123000, 3).toString == "123.000"); assert(Decimal(123456, 0).toString == "123456"); assert(Decimal(123456, 6).toString == "0.123456"); assert(Decimal(1, 3).toString == "0.001"); assert(Decimal(123001, 3).toString == "123.001"); assert(Decimal(-123001, 3).toString == "-123.001", Decimal(-123001, 3).toString);