Money type

JN 666total at
Wed Jan 1 17:09:17 UTC 2020

On Wednesday, 1 January 2020 at 15:41:32 UTC, Vitaly Livshic 
> Good day.
> I came from Java world, where 'double' type inadequate for 
> money calculation. BigDecimal serves for it. This is ugly type, 
> but gives precise results.
> Which type I must use for money in D?

There's a BigInt type in the standard library which might work -

More information about the Digitalmars-d mailing list