8.3.10 VarIsNumber

VarIsNumber returns a Boolean True if the Subject variant can be converted to a number, otherwise it returns a Boolean False.

VarIsNumber( Subject )


This if statement tests if the value is a string:

If Cond(VarIsNumber( #TheValue ) *EQ True)
Use Builtin(MESSAGE_BOX_SHOW) With_Args(OK OK Information 'Variant Type' 'The value is a decimal.')