7 ms·
I dont understand the need for this. I always has used integer data type and counted cents. Why need this?
by slt2021 2y ago
I dont understand the need for this.
I always has used integer data type and counted cents. Why need this?
- proper_elb 2y agoMore precision and/or more safety. Will depend on the domain/audience/... the software is being written for.
- eriksencosta 2y agoYou don't need if your solution fits your use case. The library is an implementation of Fowler's Money pattern: https://martinfowler.com/eaaCatalog/money.html https://martinfowler.com/eaaCatalog/money.html