Floating point input using
java.io
is fundamentally like integer input.
With floating point, as with integers, you first read in characters.
Then, if the characters are correctly formatted,
they are converted
to a numeric type.
The methods in this chapter work only with Java versions 1.2 and higher. If you have an earlier version of Java you can skip this chapter without significant loss.