Adjust format string for casts from float to string