Fix for Issue #1962

Pull request to solve issue #1962. 

Floating point numbers with a trailing **.** character would be rendered as integers. 
For example: .032 => will become 32. 

The new function ```peekNextDigitOrPoint``` takes into account this and is used in the function ```parseToFloat```. 

Let me know if any re-factor or modification is required.