WHat is the decimal type?

Not all decimal numbers (float) have the same amount of digits after the decimal. This might make a difference in some calculations.

Format

Therefore, all float numbers in the documentation use this format: decimal (x,y)

  • x is the amount of digits coming before the decimal
  • y is the amount of digits coming after the decimal

Example

So as an example, a field with the type **decimal(12,7) will have 12 digits before the decimal and 7 after the decimal.