How to make a Currency class from std.BigInt?

RuZzz via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 31 04:07:22 PST 2015


How to get amount of digit after point in a double for to get 
integer from a double?
     assert(amountAfterPoint(1.456) == 3);
     assert(amountAfterPoint(0.00006) == 5);


More information about the Digitalmars-d-learn mailing list