Suggested enhancement: New basic datatype: 'dec'.

ponce via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 25 02:30:54 PDT 2015


On Thursday, 25 June 2015 at 09:24:28 UTC, DLearner wrote:
> A signed decimal datatype to support writing userland 
> accounting programs (major business application area), without 
> loss of accuracy (including losses caused by not all 'decimal 
> decimals' having exact 'binary decimal' representation).
>
> Not very interesting from a theoretical viewpoint (just COBOL 
> or PL/I datatype),
> but (I think) of practical value in encouraging D adoption.

D has excellent support for user-defined numerical data types, so 
you can write such as a library. You too can do it, especially if 
you have experience with such accounting applications.


More information about the Digitalmars-d mailing list