Difference between revisions of "MC-Basic:ABS"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Read-Only" to "Read only")
m
Line 1: Line 1:
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
 
  
 
|SYNTAX=
 
|SYNTAX=

Revision as of 12:03, 14 May 2014

This function returns the absolute value of the argument.

Syntax

Abs(<expression>)

Availability

All versions

Type

Double

Range

± MaxDouble

Scope

Configuration, Task or Terminal

Limitations

Read only

Examples

?Abs(-5.67)

Var1 = Abs(var2)

See Also