Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Hmmmm I wonder what things like the BigDecimal class in Java could be used for? 🤔🤔🤔🤔🤔
-
@Renardhj @devinthedetails it's like the "$" is hard coded and the div of the function isn't aligned properly.. Maybe they left the space to account for 3 digit numbers, instead of just allowing the div to adjust to the character width.
-
Querijn7508y@SharinganUchiha don't ever represent numbers that need to be precise in floats. ever.
you don't want to lose money due to floating point errors.
Precision 😂
undefined
this was a real cart i was checking out on
bugs in real life