Language basics / Literals |
Decimal literals define numeric value with a decimal part in an expression.
[+|-] digit[...] . digit[...] [ {e|E} [+|-] digit[...] ]
Decimal literals in base-10 notation, without blank spaces and commas, with a decimal part after a dot.
Decimal literals can be used to specify values for DECIMAL(P,S), MONEY(P,S), FLOAT and SMALLFLOAT data types.
MAIN DEFINE n DECIMAL(10,2) LET n = 12345.67 LET n = -1.23456e-10 END MAIN