aton

The aton function is a numeric function that converts strings into real numbers. The numeric functions enable you to convert one data type to another.

Syntax

Use this syntax:


real = aton(string);
where:  real    = real number variable
         string  = string variable

Example

An example of this function follows:


real b;
string[20] s;
s = "5.5";
b = aton(s);
// "b" contains the value 5.5