5 ms·Shouldn't it be `round(x/5)*5` ?by Silphendio 2y agoShouldn't it be `round(x/5)*5` ?shiandow 2y agoDepends, are you working in cents or whole euros/dollars?falcor84 2y agoIn all use-cases I encountered, working with integer cents is much cleaner than decimals