company logo

Unsigned integer or decimal number

Keywords:  integer type

ODABA considers decimal values the same way as integer values by defining a precision. The size for an integer value defines the number of significant digits. The precision defines the number of positions behind the decimal point. Negative precision allows defining a decimal factor.

Unsigned values cannot store negative numbers. The storage size for integer numbers results from the defined size for the integer:

  • 1-2: 1 byte
  • 3-4: 2 byte
  • 5-10: 4 byte
  • 11-19: 8 byte
Definition: 

_unsigned := 'unsigned' | 'UNSIGNED'