Rounding numbers to a specific value in Python : <p>I would like to do in python rounding to the specified value. Rounded to a tip or .99, 9.99 or other value. The value can by dynamic. 
Example:</p>

<p>Rounded to .99</p>

<pre><code>20.11 =&gt; 20.99
11.33 = 11.99
1.00 = 1.99
</code></pre>

<p>Rounded to 9.99</p>

<pre><code>100 =&gt; 109.99
293.33 =&gt; 299.99
</code></pre>

<p>Rounded to 0.33</p>

<pre><code>1 =&gt; 1.33
34.44 =&gt; 35.33
</code></pre>

<p>How do that?</p>
