Difference between revisions of "MC-Basic:ABS"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:ABS}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
 
  
 
|SYNTAX=
 
|SYNTAX=
Abs(''<expression>'')
+
Abs(<''expression''>)
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 16: Line 16:
  
 
|RANGE=
 
|RANGE=
+/- MaxDouble
+
± MaxDouble
  
 
|UNITS=
 
|UNITS=
Line 28: Line 28:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only
+
Read only
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 37: Line 37:
 
|SEE ALSO=
 
|SEE ALSO=
  
 +
[[Category:MC-Basic:Arithmetic Functions|ABS]]
  
 
}}
 
}}

Latest revision as of 02:12, 17 April 2017

Language: English  • 中文(简体)‎

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