Files
ubicloud/lib/invoice_generator.rb
Burak Yucesoy 3e3c6bcdda Fix unit test for invoice generator
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.
2024-08-22 14:41:07 +02:00

6.4 KiB