When performing a floating point conversion the parsing code could consume more than required characters from the input buffer. This made impossible to convert input of form "1.1K" using format "%f%c". Fix the issue by advancing the input buffer with the actual characters converted as a float point number. Signed-off-by: Mihai Serban <mihai.serban@gmail.com>