Val

Returns a number representation of the specified string.

Parameters
StringStr
String of characters to convert.
Returns
A number representing the specified string.
Remarks
The Val function can be used to convert variable formats.
Example
Set bzhao = CreateObject( "BZWhll.WhllObj" )
bzhao.Connect "A"
bzhao.ReadScreen ResultStr, 2, 7, 15
x = Val(ResultStr) / 2
ResultStr = bzhao.Str( x )
bzhao.WriteScreen ResultStr, 7, 15