The TextToIntegerValidate function is a built-in function that returns true if Text t can be converted to an Integer value.
You can use this function before converting the Text value to an Integer value with the TextToInteger function.
t: Text Type
Boolean Type
Usage |
Result |
TextToIntegerValidate( "200" ) |
True |
TextToIntegerValidate( "-200" ) |
True |
TextToIntegerValidate( "200.482" ) |
False |
TextToIntegerValidate( "not a number" ) |
False |
See Also
TextToInteger Function | Available Conversion Functions to Integer | Available Built-in Functions