Value function
Syntax
Value(string)
Description
Use the Value function to convert a string representing a number to the number.
To convert a number using the user's local format for the number, use the ValueUser function.
Parameters
| Parameter | Description |
|---|---|
|
string |
A String value representing a number. |
Returns
Returns the Number value represented by string.
Example
The example sets &VAL1 to 5.25 and &VAL2 to 12500:
&VAL1 = Value("5.25");
&VAL2 = Value("12,500");
Related Topics