d-money ctor(string) has bug, be careful! EUR("1.23456") ==> ctor ==> 3.3456EUR
Basile B.
b2.temp at gmx.com
Sun May 24 18:15:09 UTC 2020
On Sunday, 24 May 2020 at 17:06:43 UTC, mw wrote:
> On Friday, 22 May 2020 at 05:26:45 UTC, mw wrote:
>> The issue found is here:
>>
>> https://github.com/qznc/d-money/issues/11
>>
>
> For anyone who's using this package, just submitted the PR to
> fix it:
>
> https://github.com/qznc/d-money/pull/12
there's also parsing that is not super compliant
EUR y = EUR("1.000.000,00");
writeln(y); // F!
More information about the Digitalmars-d
mailing list