PlaneSpottingWorld welcomes all new members! Please gives your ideas at the Terminal.

Template:Abs

From PlaneSpottingWorld, for aviation fans everywhere

Jump to: navigation, search
This documentation template is deprecated; please use the documentation guidelines at WP:DOC instead.

Below is the documentation of this template. See the lists of templates on Wikipedia.
Purge server cache if the template uses noinclude, and your changes do not appear..

This template evaluates its numeric parameter and returns its absolute value. If the parameter is empty or missing, it returns an empty string. The parameter may also be a numeric expression that will be evaluated before testing its sign.

Syntax:
{{Abs|value}}
Examples with a simple number:
{{Abs|100}} = 100.
{{Abs|0.1}} = 0.1.
{{Abs|0}} = 0.
{{Abs|-0.1}} = 0.1.
{{Abs|-100}} = 100.
Examples where the parameter is evaluated:
{{Abs|01}} = 1.
{{Abs|00}} = 0.
{{Abs|0.}} = 0.
{{Abs|0.0}} = 0.
{{Abs|-0}} = 0.
{{Abs|3-4}} = 1.
{{Abs|-4*2}} = 8.
Examples with an empty (or missing) parameter:
{{Abs|}} = .
{{Abs}} = .ar:قالب:مطلق

it:Template:Abs vi:Tiêu bản:Abs zh-classical:Template:Math.abs

Personal tools
SpottingWorld Wikis
<
January 2009
>
SMTWTFS
123
45678910
11121314151617
18192021222324
25262728293031
Coming Events
More »