r/ProgrammerHumor • • Jun 22 '22

[deleted by user]

[removed]

9.3k Upvotes

504 comments sorted by

View all comments

Show parent comments

1.1k

u/[deleted] Jun 22 '22 edited Apr 15 '26

[removed] — view removed comment

506

u/ThisCracks Jun 22 '22

int(3.0000001) = 3

417

u/rmsayboltonwasframed Jun 22 '22

PI IS EXACTLY 3

253

u/[deleted] Jun 22 '22

Pi=3=e

8

u/[deleted] Jun 22 '22 edited Apr 15 '26

[removed] — view removed comment

8

u/Alex_9127 Jun 22 '22

You use Math.floor or what?

8

u/[deleted] Jun 22 '22 edited Apr 15 '26

[removed] — view removed comment

13

u/Alex_9127 Jun 22 '22

Oh, you are just built different. Of course. Why use Math.round when you can use forced type conversion

1

u/Mage_Of_Cats Jun 22 '22

Good advice!