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

You can specify a rounding mode if you use decimals instead of floats



Yeah but that's let useful if you're trying to round floats.


less* obviously, not sure how I fat fingered that one.




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: