sckum555
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 6576 |
|
| |
|
Boomarang
|
  |
| Joined: 15 Jul 2008 |
| Total Posts: 919 |
|
|
| 05 Aug 2011 03:19 PM |
| NumberValue holds any real number and IntegerValue holds any number that is whole. Not a whole number, but a number without a decimal. |
|
|
| Report Abuse |
|
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 05 Aug 2011 03:20 PM |
| NumberValue can be either Float (Decimal) or Integer (Whole numbers) while Integer is just Integer. |
|
|
| Report Abuse |
|
|
sckum555
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 6576 |
|
| |
|
sckum555
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 6576 |
|
|
| 05 Aug 2011 03:21 PM |
So wait if I said
a = 3/2 intvalue.Value = a
would the valu turn to 1? |
|
|
| Report Abuse |
|
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 05 Aug 2011 03:24 PM |
| 3/2=1.5, it would become 2, since it rounds above 0.4. |
|
|
| Report Abuse |
|
|
sckum555
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 6576 |
|
| |
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 05 Aug 2011 03:26 PM |
| If you want it to erease the decimal, use math.floor(3/2). |
|
|
| Report Abuse |
|
|