Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] product: price list reports with too many fractional digits
Before this commit, when printing the Price List report of a Product Variant, the price is printed directly from the float result of the calculation of the price, even if this price is rounded, the representation of the float can have, sometimes, float precision errors (a lot of 0 after the decimal point, and a 1 or 2 at the end). Now, the function returns a string formatted to the correct number of fractional digits. opw-2069305
- Loading branch information