Skip to content
Contact us

Dec()

Dec ( string )

ArgumentDescription
stringThe string you want returned as a decimal.

Data type: Decimal Returns the contents of string as a decimal if it succeeds and 0 if string is not a number. The decimal datatype supports up to 28 digits.

This expression returns the string 24.3 as a decimal datatype:

Dec('24.3')