
Examples of Arithmetic Functions
The instructions:
$a = "16"
x = SQRT(VAL($a))
results in x having a value of 4.
The instruction:
x = INT(RANDOM*10)
creates a pseudorandom number between 0 and 10.
Numeric Value Functions
V+Language User's Guide, v17.0
Page 148