Val (Magic xpi 4.5)
Converts an Alpha string to a numeric value, according to a picture.
Syntax:
|
Val(Alpha string, Alpha picture)
|
Parameters:
|
string: The Alpha string to be converted to a numeric value.
picture: The format in which the number is stored in the string. For a full description, see Picture Formats.
|
Returns:
|
Number values.
|
Example:
|
Val('45.12','##.#') returns 45.1
|
Note:
|
A blank picture may be specified for converting standard numbers.
|
See also:
|
Str
|