You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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 )

Example

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.')
Endif
  • No labels