Hacker News new | ask | show | jobs
by masklinn 1295 days ago
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”.

1 comments

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.