Comment by Silphendio Comment by Silphendio a year ago 2 replies Copy Link View on Hacker News Shouldn't it be `round(x/5)*5` ?
Copy Link shiandow a year ago Collapse Comment - Depends, are you working in cents or whole euros/dollars? Reply View | 1 reply Copy Link falcor84 a year ago Parent Collapse Comment - In all use-cases I encountered, working with integer cents is much cleaner than decimals Reply View | 0 replies
Copy Link falcor84 a year ago Parent Collapse Comment - In all use-cases I encountered, working with integer cents is much cleaner than decimals Reply View | 0 replies
Depends, are you working in cents or whole euros/dollars?