Money type

bauss jj_1337 at live.dk
Thu Jan 2 18:32:02 UTC 2020


On Thursday, 2 January 2020 at 18:20:38 UTC, Ola Fosheim Grøstad 
wrote:
>
> You can set the rounding mode. Round to even is the common 
> default I believe (bankers rounding). Although I think it is 
> common to just round up at 0.5 when doing manual accounting.
>

You are right about this and the reason is that otherwise large 
numbers start being very inaccurate very fast.


More information about the Digitalmars-d mailing list