Mathematical rounding
Elena via Digitalmars-d
digitalmars-d at puremagic.com
Wed Oct 15 20:11:55 PDT 2014
Hi,every one!
How can I realize mathematical rounding (not banking) for Double
in D
0.4 -> 0
0.5 -> 1
1.5 -> 2
2.5 -> 3
3.5 -> 4 ?
Thank you.
More information about the Digitalmars-d
mailing list