Difference between revisions of "MC-Basic:ABS"

From SoftMC-Wiki
Jump to: navigation, search
Line 3: Line 3:
  
  
|SYNTAX=
+
|||SYNTAX=
 
Abs(''<expression>'')
 
Abs(''<expression>'')
  
|AVAILABILITY=
+
||AVAILABILITY=
 
All versions
 
All versions
  

Revision as of 12:52, 16 March 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