1 DECIMAL The DECIMAL function converts a numeric or string expression to the DECIMAL data type. Example A = DECIMAL ("3.20", 8, 2) 2 Syntax decimal-var = DECIMAL(exp [, int-const1, int-const2]) Int-const1 specifies the total number of digits. Int-const2 specifies the number of digits to the right of the decimal point.