Added support for parsing floats and doubles.