From Ohmnibus.NET

QdrFr: Absolute

"QdrFr.Abs" n'existe pas.

Version anglaise:


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

Récupéré sur http://www.ohmnibus.net/wiki/index.php?n=QdrFr.Abs
Page mise à jour le 28 March 2024 à 20h39