Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: String Manipulation
See also: string substr

Function: atof
Description: Converts strings to numbers.

Usage: z = atof(x)
Input:
x array of strings
Output:
z array

Note:

Example:

s = #("1", "2")~#("3", "4")~#("1.0"+"6", "three")
z = atof(s)
z
Result:

Content of z
[1,]        1       3      1.06
[2,]        2       4      +NAN

Group: String Manipulation
See also: string substr

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 28.6.1999