There is an interesting problem where when I divide a large number such as this one: 3715113113116158154116119113141581861331631 by 2… here is what it turns into…
1.8575565565581e+42, So first of all, the HUGE NUMBER that I specified above divided by 2 is (Obviously) not 1.8575565565581e+42, is there anything I can do to fix this?
Plus, if I multiply the number by 2, it turns into 3.7151131131162e+42 instead of 3715113113116158154116119113141581861331631, is there any way I can accurately, and properly divide, and multiply huge numbers like this without these problems?
I understand there are barely no use cases for this, but I still need help!
In short, experimenting with huge numbers can cause some issues. An Int64 data type will result in the number range from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. Any numbers outside of that range will cause some errors to occur. In your case, your number is so huge that it causes Roblox to display the number in scientific notation. You can read more here at: Numbers | Documentation - Roblox Creator Hub.
1.8575565565581e+42 actually is correct. The e+42 is short-hand for * 10 ^ 42, meaning it’s 1.8575565565581 * 10 ^ 42 which is 1857556556558100000000000000000000000000000.
You can’t. All numbers on Roblox are “double-precision floating-point”, meaning they are 64 bits of data. Because of that limit, it has to simplify to scientific notation. It’s showing you all of the data it has.