
Tests whether a variable is or can be converted into a valid number.
IsNumber(x)
(s) x value to be tested
(i) @TRUE if the data is or can be converted to a valid number;
@FALSE if the data is not or cannot be converted to a valid number.
Use this function to test whether a variable can be converted into a valid number, either an integer or a floating point number.
A=IsNumber(4)
Message("Is 4 a number", A)
B=IsNumber("Hamburger")
Message('Is "Hamburger" a number', B)
C=IsNumber(4.5)
Message("Is 4.5 a number", C)