I'm currently creating a game and I have to deal with very large numbers. I was trying to find a random number between these large numbers using math.random(). I found that it would return 0 if you have extremely large numbers in the arguments. Is there any way to fix this problem? Any help would be appreciated.
Code
local Random = math.random(1e22, 1e24)
print(Random)
This would print 0 in the output.

1 comment
What is the reason to use these giant numbers? more than likely, you can use a static multiplier to make small numbers much larger (like scientific notation)