Function Decimal

Converts to a decimal number not allowing nulls

Decimal([OBJECT],[DEFAULT_IF_INVALID])

Parameters

#TypePassingDefaultNameDescription/Comments
1anyrequiredn/aOBJECTThe expression
2numberoptional0DEFAULT_IF_INVALIDThe 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)}}