Is there ANY tutorial of how BigNum Library works?

Hi, I’m making a simulator game and I couldn’t find a way to work with big numbers. I’ve readed this hundred of times and I don’t get it.

A lot of games works with bignums so how do they do that?

Thank you

1 Like

I do not have very much experience with this, but I read a post awhile ago talking about this. I believe you can do a couple of things:

A.
Use decimal numbers. You can type something like 1.37465, and then convert it back to 137, 465 in your code.

B.
Use separate numbers. This may include either multiplying them together or adding them. Ex. two variables of 2,000 and then adding them for a total of 4 k, or for even more numbers try multiplying them together. I do believe this would result in a larger range of numbers.

Good luck with your simulator game!

Hope this helps!
Someperson576

2 Likes