MeasureString: Correctly convert strings to floating-point numbers instead of integers only