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

The biggest annoyance with P3’s round is that you can’t specify a rounding mode.

Well that and it returns an integer when rounding to 0 digits, but that’s less of an issue since the langage also switched to “true division”.



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.




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

Search: