title: Round number to nearest integer
body: <p>I've been trying to round long float numbers like:</p>
  <pre><code>32.268907563;
  32.268907563;
  31.2396694215;
  33.6206896552;
  ...
  </code></pre>
  <p>With no success so far. I tried <code>math.ceil(x)</code>, <code>math.floor(x)</code> (although that would round up or down, which is not what I'm looking for) and <code>round(x)</code> which didn't work either (still float numbers).</p>
  <p>What could I do?</p>
  <p><strong>Code:</strong></p>
  <pre><code>for i in widthRange:
      for j in heightRange:
          r, g, b = rgb_im.getpixel((i, j))
          h, s, v = colorsys.rgb_to_hsv(r/255.0, g/255.0, b/255.0)
          h = h * 360
          int(round(h))
          print(h)
  </code></pre>