title: How to convert a "decimal string" into an integer without the period in PHP
body: <p>If I have, say, <code>8.1</code> saved as a string/plaintext, how can I change that into the integer (that I can do addition with) <code>81</code>? (I've got to remove the period and change it into an integer. I can't seem to figure it out even though I know it should be simple. Everything I try simply outputs <code>1</code>.)</p>