Abs

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

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

Syntax

[help]
(float) Abs x:float

Example

abs x

Will return the absolute value of x.

Notes

  • The abs directive (Mathematical UI directives) is a trait that returns the absolute value of an element in a user interface XML block.

See Also