generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Is math.huge always the same number?

Previous Thread :: Next Thread 
DefenceBot is not online. DefenceBot
Joined: 19 Apr 2010
Total Posts: 211
05 May 2012 02:24 PM
Or is it random.
Report Abuse
myrEIGHT is not online. myrEIGHT
Joined: 22 Apr 2012
Total Posts: 124
05 May 2012 02:24 PM
It's not a number
Report Abuse
mage11561 is not online. mage11561
Joined: 03 Sep 2008
Total Posts: 13217
05 May 2012 02:24 PM
It's the largest number on Lua,

so it's always the same.
Report Abuse
DefenceBot is not online. DefenceBot
Joined: 19 Apr 2010
Total Posts: 211
05 May 2012 02:27 PM
So if someone set there health to math.huge

Could I detect It was math.huge or a very very high number?
Report Abuse
mage11561 is not online. mage11561
Joined: 03 Sep 2008
Total Posts: 13217
05 May 2012 02:28 PM
It doesn't return a number.
Report Abuse
myrEIGHT is not online. myrEIGHT
Joined: 22 Apr 2012
Total Posts: 124
05 May 2012 02:29 PM
You could but very very high number like 9999999999999999^99999999999999 also equals with math.huge
Report Abuse
myrEIGHT is not online. myrEIGHT
Joined: 22 Apr 2012
Total Posts: 124
05 May 2012 02:34 PM
print(math.huge)

>1.#INF

print(999999999999999999999999999999999^999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)

>1.#INF

print(1/0)

>1.#INF
Report Abuse
thejoker1997 is not online. thejoker1997
Joined: 19 Aug 2009
Total Posts: 155
05 May 2012 03:33 PM
math.huge isn't a number, it is equal to infinity. Since infinity is infinity, and not an actual numeric value, it doesn't change.
Report Abuse
Robert00001 is not online. Robert00001
Joined: 15 May 2010
Total Posts: 7965
05 May 2012 03:37 PM
print(1e999)
> 1.#INF

~ ROBERT00001 ~
~(ಠωಠ)~
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image