Is there an equivalent of the decimal type in D?

Myron Alexander malexander at investec.co.za
Fri Jan 19 08:09:31 PST 2007


Hello.

I want to work with numbers without having to worry about binary representation. I work with currencies and other such values that must be absolute. In Java I have BigDecimal and in Python I have decimal.

Does D have an equivalent, either at the language level or as a module/class?

Thanks,

Myron.


More information about the Digitalmars-d-learn mailing list