Reference > Expressions > Built-in Functions > Type Conversion Functions > Number

Number

Converts the input parameter into a number value.

Syntax

Number(value)

Enabled for

Search/Dashboard No
Business Rules No
Quick Actions Yes
Workflow Objects No
Reports No

Parameter

value The input to evaluate.

Return Value

Number value. See also Conversion to Number Values.

Example

$(Number("2.793"))

The example above returns 2.793.

 

$(Number(1234.56HKD))

The above example above returns 1234.56.

 

$(Number(true))

The above example returns 1.