title: Converting number abbreviations (5.2k, 1.7m, etc) into valid integers with PHP
body: <p>I have a database with a column containing a variety of numbers written in "shorthand", for example:</p>
  
  <p>5k for 5,000<br>
  86.6k for 86,600<br>
  4.1m for 4,100,000<br>
  1.2b for 1,200,000,000</p>
  
  <p>I'd like to do some calculations with these numbers for a PHP frontend, but I need to convert them into valid integers in order to do so. How could I do this with PHP?</p>