Argument | Required/ Optional | Description |
---|---|---|
value | Required | Must be a string or numeric datatype. Passes the values you want to convert to decimals. You can enter any valid expression. |
scale | Required or Optional | Must be an integer literal between 0 and 28, inclusive. Specifies the number of digits allowed after the decimal point. If you omit this argument, the function returns a value with the same scale as the input value. You cannot omit this argument in advanced mode. |
IN_TAX | RETURN VALUE |
---|---|
'15.6789' | 15.679 |
'60.2' | 60.200 |
'118.348' | 118.348 |
NULL | NULL |
'A12.3Grove' | 0 |