How to make a Currency class from std.BigInt?

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


On Saturday, 31 January 2015 at 15:02:09 UTC, Colin wrote:
> Maybe you can articulate it in one post what this class is 
> trying to achieve?
Maybe this?
https://github.com/andersonpd/decimal/blob/master/decimal/bigfloat.d

The main thing is not to lose currency in calculations that use 
arithmetic.


More information about the Digitalmars-d-learn mailing list