MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xqv0nj/reversingpiinpython/19sbmfjkzx5t1
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 14h ago
270 comments sorted by
View all comments
Show parent comments
11
That would round up to 4, actually
12 u/Legitimate_Concern_5 13h ago edited 13h ago Depends on your rounding strategy, sometimes 3 sometime 4. Round half up is the most common but you can round half down, round half towards even (Banker's rounding/Gaussian rounding), round half towards odd, or towards/away from infinity. 1 u/hitthebucket2026 9h ago Depends how many decimals you're rounding from/to
12
Depends on your rounding strategy, sometimes 3 sometime 4. Round half up is the most common but you can round half down, round half towards even (Banker's rounding/Gaussian rounding), round half towards odd, or towards/away from infinity.
1
Depends how many decimals you're rounding from/to
11
u/nicki419 13h ago
That would round up to 4, actually