Corrected scanner to not accept floats starting with a ".".