Difference between revisions of "Math"

From SkyCorp Global
(Created page with "NOTE: This class is lowercase, ie: 'math' == Public Methods == === void write(string) === Output string to screen. Does not automatically add newlines. Category:LUA Class...")
 
Line 3: Line 3:
 
== Public Methods ==
 
== Public Methods ==
  
=== void write(string) ===
+
=== abs ===
Output string to screen.  Does not automatically add newlines.
+
 
 +
=== acos ===
 +
 
 +
=== asin ===
 +
 
 +
=== atan ===
 +
 
 +
=== atan2 ===
 +
 
 +
=== ceil ===
 +
 
 +
=== cos ===
 +
 
 +
=== cosh ===
 +
 
 +
=== deg ===
 +
 
 +
=== exp ===
 +
 
 +
=== floor ===
 +
 
 +
=== fmod ===
 +
 
 +
=== frexp ===
 +
 
 +
=== ldexp ===
 +
 
 +
=== log ===
 +
 
 +
=== log10 ===
 +
 
 +
=== max ===
 +
 
 +
=== min ===
 +
 
 +
=== modf ===
 +
 
 +
=== pow ===
 +
 
 +
=== rad ===
 +
 
 +
=== random(max) ===
 +
 
 +
=== random(min, max) ===
 +
 
 +
=== sin ===
 +
 
 +
=== sinh ===
 +
 
 +
=== sqrt ===
 +
 
 +
=== tan ===
 +
 
 +
=== tanh ===
 +
 
 +
== Public Variables ==
 +
 
 +
=== pi ===
 +
 
 +
=== huge ===
 +
Largest representatable number
 
[[Category:LUA Class Reference]]
 
[[Category:LUA Class Reference]]

Revision as of 06:49, 21 December 2017

NOTE: This class is lowercase, ie: 'math'

Public Methods

abs

acos

asin

atan

atan2

ceil

cos

cosh

deg

exp

floor

fmod

frexp

ldexp

log

log10

max

min

modf

pow

rad

random(max)

random(min, max)

sin

sinh

sqrt

tan

tanh

Public Variables

pi

huge

Largest representatable number