How to use parseInt() in javascript
I was using parseInt() to get some big prime numbers, but it's working as expected. For example,
<pre><code>
parseInt("18014398241046527", 10); // gives me 18014398241046528 ??
parseInt("18014398241046528", 10); // gives me 18014398241046528
parseInt("18014398241046529", 10); // still gives me 18014398241046528 ??
</code></pre>

I tested them on both chrome Version 20.0.1132.47 and Firefox 12.0. Was this because the numbers that I was trying to parse are too large?
How to use parseInt() in javascript
===

I was using parseInt() to get some big prime numbers, but it's working as expected. For example,
<pre><code>
parseInt("18014398241046527", 10); // gives me 18014398241046528 ??
parseInt("18014398241046528", 10); // gives me 18014398241046528
parseInt("18014398241046529", 10); // still gives me 18014398241046528 ??
</code></pre>

I tested them on both chrome Version 20.0.1132.47 and Firefox 12.0. Was this because the numbers that I was trying to parse are too large?