Hacker News new | ask | show | jobs
by NohatCoder 2490 days ago
Add 0.5 before rounding towards negative infinity, and you'll get standard rounding.