NUMBER
A variable can be declared as NUMBER and contain numbers with or without decimals. The default value of NUMBER is 0. NUMBER is implemented as a floating point number with a precision of 15 digits.
In the result document, NUMBER is by shown with two decimal positions and a thousand separator by default. This can be changed with the format function (see FORMAT functions).
You cannot assign a number to a
TEXT or
BOOL variable directly. Use the
numerals and
number_in_words functions to convert a number to a
text value (see
numerals
and
number_in_words, respectively).