logoalt Hacker News

bazoom42 • today at 8:44 AM • 0 replies • view on HN

In cases where you have to convert from float/double to decimal you should use an explicit rounding method, not just a raw cast.