Difference between revisions of "Abs"
Jump to navigation
Jump to search
imported>DewiMorgan m (caps fix; program -> script extender.) |
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
||
Line 20: | Line 20: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.0)]] | |||
[[Category:Math Functions]] | [[Category:Math Functions]] | ||
[[Category:Math Functions (GECK 1.0)]] |
Revision as of 11:24, 12 August 2009
Description
Abs When given a number returns the absolute value of the number.
Syntax
abs x will return the absolute value of x.
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.
- This function is new in the GECK, and was not available in the TES4 Construction Set. However, it was available through the OBSE script extender.