title: What is the alternative to built-in round()?
body: <p>Pylint is complaining <em>round built-in referenced</em> but what is the alternative?</p>
  
  <p>The <a href="https://stackoverflow.com/questions/3569134/why-doesnt-pylint-like-built-in-functions">answers I've seen thus far</a> are simply to quiet Pylint with regards to built-in functions. There must be some other way to call <code>round()</code>, perhaps in a standard import library? Is there something potentially wrong about using the built-in function?</p>
  
  <p>My searches for these answers have only come up with dozens of tutorials on using the built-in function.</p>
  
  <p>Usage is anything to with <code>round()</code>. This triggers the warning:</p>
  
  <pre class="lang-py prettyprint-override"><code>n = 0.05
  n = round(n)
  </code></pre>
  
  <p>The exact warning only shows up in VS Code, it's:</p>
  
  <pre><code>{
      "resource": "/C:/Users/neil.obremski/project/file.py",
      "owner": "python",
      "code": "round-builtin",
      "severity": 4,
      "message": "round built-in referenced",
      "source": "pylint",
      "startLineNumber": 434,
      "startColumn": 9,
      "endLineNumber": 434,
      "endColumn": 9
  }
  </code></pre>
  
  <p><strong>UPDATE</strong>: This shows up when <code>--enable=W</code> is set in the Pylint arguments. It shows up for absolutely <em>any</em> use of the <code>round()</code> function, including specifying the second argument.</p>
  
  <p>Here's what the Pylint output looks like for <code>pylint file.py --enable=W</code>:</p>
  
  <pre><code>file.py:435:18: W1633: round built-in referenced (round-builtin)
  </code></pre>