De Ohmnibus.NET

QdrEs: Absolute

The page "QdrEs.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

Obtenido de http://www.ohmnibus.net/wiki/index.php?n=QdrEs.Abs
Última modificación de la página el 29 de March de 2024 a las 07h55