modify to accept floating point numbers with upcase notation