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 » Scripters
Home Search
 

Re: Int

Previous Thread :: Next Thread 
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
30 Mar 2016 09:00 AM
Is there a way of telling if a value is an int?


#code rly?
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
30 Mar 2016 09:06 AM
if Number == math.floor(Number) then


Report Abuse
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
30 Mar 2016 09:31 AM
What I meant was, if it's a physical number.


#code rly?
Report Abuse
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
30 Mar 2016 09:38 AM
Potato.


#code Do I really have to bump this?
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
30 Mar 2016 09:52 AM
Use the type() function.

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
30 Mar 2016 10:05 AM
Type()? I don't know what you mean. Give an example.



#code Do I really have to bump this?
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
30 Mar 2016 10:12 AM
You should look it up, but here you go.

if type(Thing) == "number" then


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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