easy5 pts · first answer countsmathfloating-pointmoney
Storing rupee amounts safely
An order service adds up many prices like ₹199.99 and the totals sometimes end in ...0000001. What is the usual fix in application code?
Discussion 0
Join free to post in the discussion.
Related questions
- Column type for pricesBackend Developer
- Remainder of a negative numberBackend Developer
- Why 0.1 + 0.2 is not 0.3Backend Developer
- GST inside an inclusive priceBackend Developer
- How many buses are neededBackend Developer
- Checking for a power of twoBackend Developer
- Which year is a leap yearBackend Developer
- Month number in new DateBackend Developer