VAL/WVAL

Top  Previous  Next

Syntax

DOUBLE = VAL(str as STRING)

DOUBLE = WVAL(str as WSTRING)

Description

Returns the numeric value of a string representation of a number.

Parameters

str - String to convert

Return value

Numeric value of string

Remarks

See Also: STR$

Example usage

num = VAL("123.44")