Generating a large number
CreativeBuilds opened this issue · 1 comments
CreativeBuilds commented
Hey there,
This is exactly what I was looking for and works great! I was wondering how I would go about adding a very large number to another large number as say something like Big.new(1, 900) would cause the system to just freeze up.
Thanks for the script! :)
ChronoDK commented
It should not freeze up for sure. Adding numbers together is done like this:
var a = Big.new(1, 900)
var b = Big.new(1, 900)
a.plus(b)
print(a.toScientific()) #prints 2e900