Constants

Lua provides some standard constants. These constants include of the value for PI (positive infinity), the largest number an integer can hold, and the smallest number an integer can hold:

  • math.pi: the value of pi
  • math.huge: represents positive infinity
  • math.mininteger: represents the smallest integer (non-decimal) number
  • math.maxinteger: represents the largest integer (non-decimal) number
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.188.201