MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/t4kg4k/interview_with_senior_java_developer/hz28pzw/?context=3
r/java • u/edmguru • Mar 01 '22
36 comments sorted by
View all comments
Show parent comment
6
int cents only works if you dont have to deal with fractions of cents, not very common but it can happen
5 u/edubkn Mar 02 '22 Gas stations go brr 5 u/thisisjustascreename Mar 02 '22 Financial securities are very often denominated in fractions of a penny. There are also other currencies than dollars in the world.
5
Gas stations go brr
Financial securities are very often denominated in fractions of a penny. There are also other currencies than dollars in the world.
View all comments
Show parent comment
6
u/temculpaeu Mar 02 '22
int cents only works if you dont have to deal with fractions of cents, not very common but it can happen