# Class for HUGE numbers?

**URL:** https://forum.kirupa.com/t/class-for-huge-numbers/332699
**Category:** flash
**Created:** [October 6, 2014, 1:00am UTC](https://forum.kirupa.com/t/class-for-huge-numbers/332699 "2014-10-06T01:00:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![okgaz](https://avatars.discourse-cdn.com/v4/letter/o/b9bd4f/32.png) [@okgaz](https://forum.kirupa.com/u/okgaz)
#### Post date: [October 6, 2014, 1:00am UTC](https://forum.kirupa.com/t/class-for-huge-numbers/332699/1 "2014-10-06T01:00:32Z")

</div>

I’m making a game at the moment that uses big numbers. The Number class works perfectly up to somewhere around 1.00x10^300. I would like to use much higher numbers though if possible.

I figure the way would be to create a new class that uses 2 numbers. One for the decimal part and another for the exponential part. Then presumably the numbers could go up to 1.00x10^(1x10^300).

Anybody know a practical way to do this? Or of another solution?

Thanks!
