13.3.6 Real Values

The standard input rules for scanning a number are identical to those used for scanning money values (see above), except that real values are not scaled. Wherever the decimal separator is encountered is where the decimal portion starts. If the input string lacks the decimal separator no fractional part is assumed.