Reads the next token and parses it as a double.
Returns 0.0 if the token cannot be parsed or there are no more tokens.
Example:
var scanner = Scanner.fromString ("3.14 2.71");
assert (scanner.nextDouble () == 3.14);
|
the parsed double value, or 0.0 on failure. |