Function Decimal
Converts to a decimal number not allowing nulls
Decimal([OBJECT],[DEFAULT_IF_INVALID])
Parameters
# | Type | Passing | Default | Name | Description/Comments |
---|---|---|---|---|---|
1 | any | required | n/a | OBJECT | The expression |
2 | number | optional | 0 | DEFAULT_IF_INVALID | The default to use if the value is null |
Returns
The result of the conversion
Examples
Example to convert asking price to number not allowing nulls
{{Decimal(ALIAS.PRICEASK)}}