Abs

Revision as of 21:31, 15 August 2007 by imported>DragoonWraith (don't include articles in the Math category, only the Math (OBSE) category)

A command for Oblivion Script Extender

Syntax:

abs [float]

Returns the absolute value of a number, i.e. it's distance from zero, i.e. always positive

Example

set n to abs -54

n = 54

set n to abs 54

n = 54