Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed incorrect fraction formatting in money_format
The function worked incorrectly when the length of the fraction was less than frac_digits. For instance, for frac_digits=2 the function returned: money_format("%!i", 31.011); // 31.1 money_format("%!i", 31.01); // 31.01 money_format("%!i", 31.009); // 31.1
- Loading branch information