Decimal/Currency Type

qznc via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 9 06:17:40 PDT 2016


On Tuesday, 9 August 2016 at 11:14:09 UTC, Edwin van Leeuwen 
wrote:
> On Tuesday, 9 August 2016 at 10:48:50 UTC, Zane wrote:
>> Is there such a thing build into D? If not, is there any plans 
>> to add it? It seems like this would be something needed by 
>> many applications (especially anything dealing with currency).
>
> I don't think there is anything in the standard library, but 
> there is a dub library:
> https://github.com/qznc/d-money

This is the "get by with long, but" approach. The downside is the 
limited range. The upside is (probably) speed.


More information about the Digitalmars-d mailing list