Closed damms005 closed 4 years ago
@damms005 Hey. I saw this library. This is a very good package for working with currency. I am of the opinion that wallet is something universal. I do not get attached to the currency - this is done by the developer. The library does not say "I only work with the dollar, the ruble and the larry", and the developer decides what he needs. Thanks you.
@rez1dent3 You are very correct about that. I was curious that such a package may be advantageous over direct money manipulations like this.
...or maybe not \_(0)_/
@damms005 Thank you! I will add gmp (GNU Multiple Precision) support for adding large numbers, a bit later.
@damms005 see tag 5.0.0
Mathematical manipulation of money (adding, subtracting etc.) can be very tricky (floating point precision, etc.).
For the reason above, there is a package designed specifically for this purpose. I suggest you consider using it: https://github.com/akaunting/money
Thanks