how do you know what to put next to the percentage character in string.format code example
Example: how to show percent in a formated string
rate = 99.99
let str = String(format: "%.2f%%", rate)
rate = 99.99
let str = String(format: "%.2f%%", rate)