|
|
|
|
|
by cwt137
3110 days ago
|
|
I can't see where they handle prices of stuff correctly. As far as I can tell, they are treating prices as floats. You shouldn't treat prices as floats, or you get weird rounding errors sometimes. This is unacceptable when dealing with money. |
|
For client projects we've been using the moneyphp library, but that also fails with rounding when it comes to VAT rates like 19% or 27%. There is a "precise" branch on their github which we have successfully merged into an existing project and solved these nasty rounding issues.
Vanilo will most probably have that included soon.