title: Format percentage using PHP
body: <p>I would like to format 0.45 as 45%.</p>
  
  <p>I know I can just do something like <code>FLOOR($x*100).'%'</code>, but wonder if there is a better way (better is defined as more standard and not necessarily faster).</p>
  
  <p>One thought is <a href="http://php.net/manual/en/class.numberformatter.php" rel="noreferrer">http://php.net/manual/en/class.numberformatter.php</a>.  Is this a better way?  Has anyone used it and can you show an example?  Thanks</p>