cloudkitty/doc/source/user
Rafael Weingärtner 08497f0d52 Increase cost fields to 28 digits precision
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
2020-10-05 14:39:11 +00:00
..
rating Increase cost fields to 28 digits precision 2020-10-05 14:39:11 +00:00
index.rst Change the documentation layout 2018-12-14 10:28:59 +01:00