Added the ability to handle floating point numbers