Contents | Previous | Next | Subchapters |

Syntax |
`atod(` text`)` |

See Also | char2dbl , atoi , ntoa , double |

Returns a column vector, with the same row dimension as

```
```

x = {"3.50", "4.50"}

2. * atod(x)

results in
```
```

{

7

9

}

The `atod`

function ignores
white space
at the beginning of each row.
The number is represented by a sequence of characters from the set
"0" through "9", "D", "d", "E", "e", "+", and "-".
Any other character signals that the number
terminated at the previous character.
If there are no valid characters following leading white space,
zero is returned.
```
```

atod({" two", " 4", "+4d3", "-4e3", "4i3"})

results in
```
```

{

0

4

4000

-4000

4

}

(Note that the character "i" is not in the set of characters defined above.)