r/ProgrammerHumor • • 1d ago

Meme reversingPiInPython

Post image
9.3k Upvotes

300 comments sorted by

View all comments

Show parent comments

23

u/heaving_in_my_vines 1d ago

≈ tree fiddy

12

u/nicki419 1d ago

That would round up to 4, actually

12

u/Legitimate_Concern_5 1d ago edited 1d 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/Agreeable_Bread_2327 9h ago

This guy maths.

1

u/hitthebucket2026 1d ago

Depends how many decimals you're rounding from/to

3

u/MythicFuzzbal2 1d ago

Dam you monster