title: Rounding up to two limits in Python
body: <p>I am trying to round up to nearest 10 for <code>Max</code> and <code>Min</code>. However, for <code>Max</code>, the nearest 10 should be greater than <code>Max</code> and for <code>Min</code>, the nearest 10 should be less than <code>Min</code>. The current and the expected outputs are presented.</p>
  <pre><code>import numpy as np
  Max = [99.91540553]
  Min = [8.87895014]
  Amax=round(Max[0],-1)
  Amin=round(Min[0],-1)
  </code></pre>
  <p>The current output is</p>
  <pre><code>Amax=100
  Amin=10.0
  </code></pre>
  <p>The expected output is</p>
  <pre><code>Amax=100
  Amin=0.0
  </code></pre>