08497f0d52
When working with some type of resources, and for some specific billing requirements, we need to set costs that will use up to more than 8 digits on the right side of the comma. By default, the Python object Decimal support 28 digits. Therefore, it makes sense for us to change the MySQL database schema of CloudKitty to use 28 digits as well on the right side. This will avoid confusion for people when using this feature. One can argue that using the `factor` option can also be a solution for that, but as I mentioned, for people used to Python, that can cause confusions because the MySQL DB is using a different precision than the one supported in Python for the data type we use to represent the `cost` field. Change-Id: Ifbf5b2515c7eaf470b48f2695d1e45eeab708a72 |
||
---|---|---|
.. | ||
rating | ||
index.rst |