1 | Input is numeric. |
0 | Input is non-numeric. |
StringValue | String value to check. |
Determines whether value is numeric by checking if it is not empty and if it is an integer, double, wide integer, or entier. This means strings like 0x10 (hexidecimal) will pass and also strings like 010 (octal) will pass. Roughly speaking, if IsNumeric returns true then should be able to use the input value as input to expr.
For information regarding exceptions / errors, see
here.
% IsNumeric 123
1
% IsNumeric asdf
0