| 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 | |
s = #("1", "2")~#("3", "4")~#("1.0"+"6", "three")
z = atof(s)
z
Content of z [1,] 1 3 1.06 [2,] 2 4 +NAN
| Group: | String Manipulation |
| See also: | string substr |