/Largest-possible-number-in-JavaScript

Find the largest non-"Infinity" number in JavaScript. This number might vary per system; I don't know if it does or not.

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

Largest possible number in JavaScript

Render this HTML file to find the largest non-"Infinity" number in JavaScript. This number might vary per system; I don't know if it does or not.

Use one or more of the following to render the HTML file:

Results

The largest number that I could get was

179769313486231580793728971405303415079934132710037826936173778980444968292764750946649017977587207096330286416692887910946555547851940402630657488671505820681908902000708383676273854845817711531764475730270069855571366959622842914819860834936475292719074168444365510704342711559699508093042880177904174497791.9999999999

Add 0.0000000001 to that and you get

179769313486231580793728971405303415079934132710037826936173778980444968292764750946649017977587207096330286416692887910946555547851940402630657488671505820681908902000708383676273854845817711531764475730270069855571366959622842914819860834936475292719074168444365510704342711559699508093042880177904174497792.0000000000

which evaluates to "Infinity" in JavaScript.