StreamTokenizer.parseNumbers

StreamTokenizer.parseNumbers

Class Overview | Class Members | This Package | All Packages

Syntax
public void parseNumbers()
Description
Specifies that numbers should be parsed by this tokenizer. The syntax table of this tokenizer is modified so that each of the twelve characters:

has the "numeric" attribute.

When the parser encounters a word token that has the format of a double precision floating-point number, it treats the token as a number rather than a word, by setting the the ttype field to the value TT_NUMBER and putting the numeric value of the token into the nval field.

See Also
nval, TT_NUMBER, ttype