Minor performance improvement.
Added proper decimal number parsing and conversion.