title: Return a percentage sign in Lua string.format
body: <p>In a modification script I'm developing for an online game, I'm attempting to display the current percentage of a number.</p>
  
  <pre><code>function()
      local z = math.max(0, UnitPower("player")) / math.max(1, UnitPowerMax("player")) * 100;
      return string.format("%.f", z);
  end
  </code></pre>
  
  <p><strong>The code above displays the percentage correctly.</strong></p>
  
  <p>However, I am having a difficult time getting the actual percentage sign to show up without throwing errors everywhere.</p>
  
  <p>I've tried adding <code>print("%%")</code> before ending the function as well as after the function, but it doesn't seem to work.</p>