Number field types
A number field type stores its value as a specific Number java type.
It is usually visualized as a textbox.
The following number types are available:
| Type | Java type | Remarks | 
|---|---|---|
  | 
  | 
Ranges from -9223372036854775808 to 9223372036854775807.  | 
  | 
  | 
Ranges from -128 to 127.  | 
  | 
  | 
Ranges from -32768 to 32767.  | 
  | 
  | 
Ranges from -2147483648 to 2147483647.  | 
  | 
  | 
Two decimal points precision.  | 
  | 
  | 
X decimal points precision, eg   | 
  | 
  | 
Two decimal points precision with a currency formatting for currency Y, eg   | 
  | 
  | 
X decimal points precision with a currency formatting for currency Y, eg   | 
  | 
  | 
Percentage formatting without any decimal points, e.g. 57%.  | 
  | 
  | 
Percentage formatting with a Y multiplier.
 E.g.   | 
  | 
  | 
Percentage formatting with a Y multiplier and X decimal points.
 E.g.   | 
document-definition:
  name: person
  content:
    - id: name
      type: string
    - id: age
      type: number(byte)
document-definition:
  name: location-temperature
  content:
    - id: location-name
      type: string
    - id: temperature
      type: decimal(1)
| Decimal types are always stored with the full decimal precision in the actual document. The configured precision (2 points by default) only applies to the form controls and rendering of a value. | 
A number type can also be used as storage type for an enumeration.