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