IsNumeric (AnyValue)
Last updated
Last updated
© Copyright 2023, Astera Software
Name | Is Numeric (Any Value) |
Syntax | IsNumeric (Any value) |
Purpose | To check whether a given value represents an integer or a real number. |
Description | Returns true if the specified value is numeric. Otherwise returns false. |
Return Type | Boolean |
Parameters | Value [System.Object] – Value to be checked |
Example
In this example, we will pass a numeric, real value to the function transformation object using a Variables object.
Where,
value = 3.123456789
In the output window, you can see that the Boolean value, True, has been returned as the specified value is numeric.
Similarly, the Boolean value, False, will be returned if the specified value is not numeric, as shown in the example below: