Abs - Math: Difference between revisions

Jump to navigation Jump to search
10 bytes added ,  10 February 2012
imported>Jlundin
(New page: Category:Scripting Category:Papyrus '''Member of:''' Math Script Calculates the absolute value of the number it is given. == Syntax == <source lang="papyrus"> float Function ...)
 
imported>Nali
Line 18: Line 18:
== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
float x = abs(5) ; x == 5
float x = math.abs(5) ; x == 5
float y = abs(-5) ; y == 5
float y = math.abs(-5) ; y == 5
</source>
</source>


== See Also ==
== See Also ==
*[[Math Script]]
*[[Math Script]]
Anonymous user

Navigation menu