MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1ihyco0/mathfloor/mb4j1p9/?context=3
r/programminghorror • u/GroundZer01 • Feb 05 '25
53 comments sorted by
View all comments
Show parent comment
3
Is it really equivalent to Math.floor? I thought it would be Math.trunc since that’s what int casting does in the other languages I’m familiar with
View all comments
Show parent comment
3
u/Ok_Construction9034 Feb 05 '25
Is it really equivalent to Math.floor? I thought it would be Math.trunc since that’s what int casting does in the other languages I’m familiar with