Number
Processes the Databox value as numeric.
Last updated
Processes the Databox value as numeric.
Last updated
Processes the Databox value as numeric. If the Databox value is non-numeric, this expression will not work.
Number > 12
12.34
True
Processes the Databox Value as Numeric and asks whether the Value is greater than the specified number – in this case 12
Number Format("F2")
12.3456
512.3
Will round to specified decimal places (“F2”)= 2 decimal places
Numeric Expressions can be used in a variety of ways from quite simple maths to more advanced arithmetic. This allows a ‘behind the scenes’ approach to scripting; to only ask the necessary questions and to let the scripting do the work.
For example, let's work out whether an applicant for a mortgage rescue scheme has secured debt over the 120% criteria.
With just three Questions and Expressions, we can direct the script to ask the next question, knowing that the answer has already been worked out ‘in the background’ - (the last Message shows the Values of the Databoxes):