Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
4

Can you put 99e99 inside of a Number Value? Does roblox have max numbers?

Asked by 7 years ago

Ok, so I want to put 99e99 inside of a Number Value although it seems that it doesn't let me type letters. Is there another way to accomplish this, since 99e99 is an extremely large number. Essentially you could substitute infinity for 99e99. Another issue with this is I want to know if Roblox has a max number that can't be passed. Could I do this to use 99e99:

game.Workspace.NumVal.Value = 99e99

I haven't tested that yet, although I don't know if that'll work.

Thanks!

0
What 99e99 will do is have 99 & repeat 99 0's after it; it's the same as saying '99' .. ('0'):rep(99), minus all that work; also, yes, you could put that in a number value (if you're talking about an object, still yes). TheeDeathCaster 2368 — 7y
0
As for the highest number, *the highest is math.huge's number, which is a span of random numbers, and will look like #INF, representing its high number (as its symbol resembles infinity). TheeDeathCaster 2368 — 7y
0
Why do you want to do this? BlueTaslem 18071 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

There's a math function called math.huge which, according to the wiki, is "A representation of infinity, a value larger than or equal to any other numerical value.

Here's the link to the wiki segment:

http://wiki.roblox.com/index.php?title=Global_namespace/Mathematical_functions&redirect=no#math.huge

Ad

Answer this question