DriveWorks Solo 15: IfNonNumber [send feedback...]

IfNonNumber

Checks to see if its first argument is a number. If the value is a number it is returned as-is, otherwise a secondary value is returned.

Syntax

IfNonNumber(Primary Value As String, Alternative Value As String)

Where:

Primary Value is the value whose type should be tested.

Alternative Value is the value which will be returned if the type of the first value fails the type test.

Examples

RuleMeaning
IfNonNumber(DWVariableLength,0)Will return 0 when the value coming from the variable Length is not a number.


Table of Contents