Refactored String.format to toF.