Number
A number in LemonScript is a value that can hold an integer (whole number) or a floating point number (decimal number). For example, a number can be 1
, 2
, 3
, 8.7
, 12.2225
, -1
, -5.5
etc.
#
Methodsstring()
- The string method converts the number into a string type. For example(15).string()
is"15"
and(-12.6).string()
is"-12.6"
.