Number

From Legacy Roblox Wiki
Revision as of 17:12, 23 March 2010 by >Mr Doom Bringer
Jump to navigationJump to search

A Number in Lua is any number. That's it, really. Any number. It can have decimal places, be negative, whatever.

Most of the time Lua doesn't mind if a number has decimal places or is negative. However certain Properties in Roblox require a whole number, or a positive number. In such cases an Integer will be asked for, instead of a number.


Number
Property (Num)
Description Any single number. 5, 3252, -3625.256
Member of N/A