<p>What is the difference in ASP/VBScript between <code>Int()</code> and <code>CInt()</code>?</p>

[{'answer_id': 20678, 'author': 'Pascal Paradis', 'author_id': 1291, 'author_profile': 'https://Stackoverflow.com/users/1291', 'pm_score': 6, 'selected': True, 'text': '<ul>\n<li><a href="http://www.w3schools.com/Vbscript/func_int.asp" rel="noreferrer">Int()</a></li>\n</ul>\n\n<blockquote>\n  <p>The Int function returns the integer part of a specified number.</p>\n</blockquote>\n\n<ul>\n<li><a href="http://www.w3schools.com/VBScript/func_cint.asp" rel="noreferrer">CInt()</a></li>\n</ul>\n\n<blockquote>\n  <p>The CInt function converts an expression to type Integer.</p>\n</blockquote>\n\n<p>And the best answer comes from <a href="http://msdn.microsoft.com/en-us/library/fctcwhw9(VS.85).aspx" rel="noreferrer">MSDN</a></p>\n\n<blockquote>\n  <p>CInt differs from the Fix and Int functions, which truncate, rather than round, the fractional part of a number. When the fractional part is exactly 0.5, the CInt function always rounds it to the nearest even number. For example, 0.5 rounds to 0, and 1.5 rounds to 2.</p>\n</blockquote>\n'}, {'answer_id': 25613, 'author': 'Mark Brackett', 'author_id': 2199, 'author_profile': 'https://Stackoverflow.com/users/2199', 'pm_score': 4, 'selected': False, 'text': '<p>And, the most important difference (IME, at least)....is that CInt <a href="http://www.bellaonline.com/articles/art18651.asp" rel="noreferrer">overflows at 32,767</a>.</p>\n'}, {'answer_id': 360003, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': '<p>Here is another difference:</p>\n\n<p>Script:</p>\n\n<pre><code>wscript.echo 40.91 * 100\nwscript.echo Int(40.91 * 100)\nwscript.echo CInt(40.91 * 100)\n</code></pre>\n\n<p>result:</p>\n\n<pre><code>4091\n4090   (????)\n4091\n</code></pre>\n\n<p>Any thoughts?</p>\n'}, {'answer_id': 4404489, 'author': 'Steven K. Mariner', 'author_id': 537223, 'author_profile': 'https://Stackoverflow.com/users/537223', 'pm_score': 3, 'selected': False, 'text': '<p>The usual answer for this issue is to manually force a re-rounding. This problem is as old as FORTRAN.</p>\n\n<p>Instead of </p>\n\n<pre><code>a = int(40.91 * 100)\n</code></pre>\n\n<p>Use</p>\n\n<pre><code>b = 40.91 * 100\na = int(b + 0.5)\n</code></pre>\n\n<p>Very old trick, still useful in Excel spreadsheets from time to time.</p>\n'}]
['https://Stackoverflow.com/questions/20675', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/357/']