From WikiChip
Difference between revisions of "mirc/identifiers/$abs"
< mirc‎ | identifiers

m (PatrolBot moved page $abs identifier - mIRC to mirc/identifiers/$abs: per new naming convention)
m (bot: correcting title)
Line 1: Line 1:
'''$abs''' returns the absolute value of a number.
+
{{mirc title|$abs Identifier}}'''$abs''' returns the absolute value of a number.
  
 
== Synopsis ==
 
== Synopsis ==

Revision as of 08:08, 4 January 2015

$abs returns the absolute value of a number.

Synopsis

$abs(N)

Parameters

NThe number that you want to retrieve the absolute value for.

Example

Echo the absolute value of -7 to the active window

//echo -a $abs(-7)

Compatibility

Added: mIRC v4.5
Added on: 30 Jun 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

$calc

$floor

$round

[Expand]
v · d · e mIRC identifier list