|
| 30 Mar 2016 09:00 AM |
Is there a way of telling if a value is an int?
#code rly? |
|
|
| Report Abuse |
|
|
|
| 30 Mar 2016 09:06 AM |
if Number == math.floor(Number) then
|
|
|
| Report Abuse |
|
|
|
| 30 Mar 2016 09:31 AM |
What I meant was, if it's a physical number.
#code rly? |
|
|
| Report Abuse |
|
|
|
| 30 Mar 2016 09:38 AM |
Potato.
#code Do I really have to bump this? |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 30 Mar 2016 10:12 AM |
You should look it up, but here you go.
if type(Thing) == "number" then
|
|
|
| Report Abuse |
|
|