fixed value conversion for floats