ZizZazZuz
|
  |
| Joined: 16 Jun 2008 |
| Total Posts: 2743 |
|
|
| 21 Dec 2011 02:34 PM |
| I feel dumb... You do I use it again? num = toNum("1337")? |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2011 02:35 PM |
print(type(tonumber("4053925.00242"))) -- tonumber("") |
|
|
| Report Abuse |
|
|
ZizZazZuz
|
  |
| Joined: 16 Jun 2008 |
| Total Posts: 2743 |
|
|
| 21 Dec 2011 02:41 PM |
| But if I just wanted the number, I'd just say tonumber("13.37")? |
|
|
| Report Abuse |
|
|
ZizZazZuz
|
  |
| Joined: 16 Jun 2008 |
| Total Posts: 2743 |
|
| |
|
Flurite
|
  |
| Joined: 03 Apr 2011 |
| Total Posts: 5386 |
|
|
| 21 Dec 2011 02:57 PM |
| Yes, your code is correct. You can read this on the wiki, you know? |
|
|
| Report Abuse |
|
|
ZizZazZuz
|
  |
| Joined: 16 Jun 2008 |
| Total Posts: 2743 |
|
|
| 21 Dec 2011 02:58 PM |
| Couldn't for the life of me find it... |
|
|
| Report Abuse |
|
|