Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WildStar
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WildStar:UI Lua
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== {{\|id|API|math}} ==== :{{\|id|API|math|abs}}(value) - returns the absolute value of the number :{{\|id|API|math|acos}}(value) - returns the arc cosine of the value in degrees :{{\|id|API|math|asin}}(value) - returns the arc sine of the value in degrees :{{\|id|API|math|atan}}(value) - returns the arc tangent of the value in degrees :{{\|id|API|math|atan2}}(y, x) - returns the arc tangent of Y/X in degrees :{{\|id|API|math|ceil}}(value) - returns the ceiling of value :{{\|id|API|math|cos}}(degrees) - returns the cosine of the degree value :{{\|id|API|math|cosh}}(value) - returns the hyperbolic cosine of value :{{\|id|API|math|deg}}(radians) - returns the degree equivalent of the radian value :{{\|id|API|math|exp}}(value) - returns the exponent of value :{{\|id|API|math|floor}}(value) - returns the floor of value :{{\|id|API|math|fmod}}(x, y) - returns remainder of division of x by y, rounding quotient toward zero :{{\|id|API|math|frexp}}(num) - Extract mantissa and exponent from a floating point number :{{\|id|API|math|huge}} = 1.#INF :{{\|id|API|math|ldexp}}(value, exponent) - Load exponent of a floating point number :{{\|id|API|math|log}}(value) - returns the natural logarithm (log base e) of value :{{\|id|API|math|log10}}(value) - returns the base-10 logarithm of value :{{\|id|API|math|max}}(value[, values...]) - returns the numeric maximum of the input values :{{\|id|API|math|min}}(value[,values...]) - returns the numeric minimum of the input values :{{\|id|API|math|mod}}(a, b) - returns the integer remainder of a divided by b :{{\|id|API|math|modf}}(x) - returns two numbers. integral part of x, and fractional part of x :{{\|id|API|math|pi}} = 3.1415926535898 :{{\|id|API|math|pow}}(x, y) - returns x to power of y. can also use operator ^, as expression x^y :{{\|id|API|math|rad}}(degrees) - returns the radian equivalent of the degree value :{{\|id|API|math|random}}([ [lower,] upper]) - returns a random number, optionally bounded integer value :{{\|id|API|math|randomseed}}(x) - sets x "seed" for random generator. seed always makes same sequence :{{\|id|API|math|sin}}(degrees) - returns the sine of the degree value :{{\|id|API|math|sinh}}(value) - returns the hyperbolic sine of value :{{\|id|API|math|sqrt}}(x) - returns the square root of x :{{\|id|API|math|tan}}(degrees) - returns the tangent of the degrees value :{{\|id|API|math|tanh}}(x) - returns the hyperbolic tangent of x
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)