Is there an equivalent of the decimal type in D?

Sean Kelly sean at f4.ca
Mon Jan 22 09:23:58 PST 2007


Myron Alexander wrote:
> 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.

For finance, isn't round-off error more of an issue than internal 
representation?


Sean


More information about the Digitalmars-d-learn mailing list