Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm going through this pain right now in helping my kid with homework in rounding and discovering my internalized rules are different from what they're being taught now. EXACT same pain as yours, depending on the precision and rounding rules of your pain scale.


Less than four rounds down to zero, five and above rounds up to 10.

What has changed? Or how different were your internalised rules?


Round to the even number, which eliminates a bias toward the higher number. This is the way Python does it.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: