Re:Kotlin Money
by proper_elb on Tuesday October 08, 2024 @02:09PM
(#41780108)
More precision and/or more safety. Will depend on the domain/audience/... the software is being written for.
Re:Kotlin Money
by eriksencosta on Tuesday October 08, 2024 @02:52PM
(#41780513)
You 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
I always has used integer data type and counted cents. Why need this?