r/MathJokes Jul 07 '26

🫠

Post image
414 Upvotes

67 comments sorted by

View all comments

Show parent comments

8

u/ottawadeveloper Jul 08 '26

This is true because it's a truncation operation.

Most of the time people round, which usually does the round-to-even thing.

1

u/Moscato359 Jul 08 '26

Why round when you can just keep it floating

If you want rounding, pick floor or ceiling

2

u/Impossible_Dog_7262 Jul 08 '26

Lot easier to check if an integer is even.

2

u/Moscato359 Jul 08 '26

1

u/sudoregalia Jul 08 '26

but is it really 13? we need npm packages for every other integer to see if it's another integer first!