template:ABS  

Because all values in a wiki are character, even the results of an {{#arith:}} operation, we can fake an Absolute Value function by simply removing anything from the period on (assuming there is one).

Usage: {{ABS|value}}

IF there is no period in value, return value.

If there is a period, return all characters to the left of the period.


Need help understanding Bludwyng's documentation style? See Bludwyng's Guide to Using Templates!


Tytania
The Relentless
Fae Wizard
Lucan D'Lere
EverQuest II
This template was created or is maintained by
Bludwyng
All the power in the universe in a small, flaming fairy package.

This page last modified 2013-05-22 23:54:23.