Formatting String to 1 Decimal Place, without rounding up/down
<p>I want a function that is passed an integer, and if that integer is over a certain value (1000 in my current case) I want to perform some division on it so I can ultimately return an abbreviation of the original integer.</p>

<p>For example:</p>

<pre><code>1000 = 1
1001 = 1
1099 = 1
1100 = 1.1
1199 = 1.1
1200 = 1.2
10000 = 10
10099 = 10
10100 = 10.1
</code></pre>

<p>It's the division and rounding side of things that has been causing me problems.</p>

<p>What would be the most suitable method to give me the results above?</p>
