From Ohmnibus.NET

QdrPtBr: Absolute

The page "QdrPtBr.Abs" doesn't exist.

English version:


Returns the absolute of a value.

Usage

Format
abs(param)
Parameters
param: Formula from which to extract the absolute value.
Returns
The absolute value of param.

Description

This function returns the absolute value of param.

Examples

All possible results generated by abs(1d6-2):
|[1]-2| = 1
|[2]-2| = 0
|[3]-2| = 1
|[4]-2| = 2
|[5]-2| = 3
|[6]-2| = 4

History

Supported since Quick Dice Roller 1.4.3

Retrieved from http://www.ohmnibus.net/wiki/index.php?n=QdrPtBr.Abs
Page last modified on October 20, 2018, at 03:13 AM