VAL

This command will return an integer number of the string provided by converting the string to a numerical form.

  Syntax
Return Float=VAL(String)
  Parameters
String
String
A string to convert to a numerical form

  Returns

The value returned is the numerical representation of the specified string

  Example Code
PRINT VAL("42")+1
WAIT KEY
  See also

TEXT Commands Menu
Index