Avoid unnecessary float to string conversion