Abs

From GECK

Revision as of 09:58, 26 November 2008 by Kkuhlmann (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Abs When given a number returns the absolute value of the number.

Syntax

 abs x     will return the absolute value of x.



Examples

Notes

Sin, cos, tan, pow, log, and abs (particularly pow and log) are extremely slow. Do not use them in script blocks that get executed every frame.


See Also

Sin, Cos, Tan, Log and Pow

Reference

Personal tools