We recently changed some billing meters, which caused unit tests to fail due to floating point precision issues. This commit fixes the tests by rounding the numbers to three decimal places. I think the long term solution would be to use integers instead of decimal numbers in all billing code and converting them to decimal numbers only when displaying them to the user.
6.4 KiB
6.4 KiB