the previous code on reading floating point number will cause a precision loss on centimeters, found it when using.