added support for floating point numbers.