format float output string.