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

Use the round function in that case.


How is that going to help? What precision do you want to round to?

You know that at big enough values, floating point numbers are farther apart than integers?




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: