Template:Abs: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{{{{subst|}}}#ifexpr:({{{1|-8}}})<0|{{#expr:-({{{1|-8}}})}}|{{{1|-8}}}}}<noinclude>
<includeonly>{{#expr: ({{{1}}})*(1-2*(({{{1}}})<0))}}</includeonly><noinclude>{{documentation}}</noinclude>

;<nowiki>{{{{{subst|}}}#ifexpr:({{{1|-8}}})<0|{{#expr:-({{{1|-8}}})|{{{1|-8}}}}}}}</nowiki> (-8 is an example).
;{{Tlx|abs|-2/3}} = {{abs|-2/3}}

[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Mathematical templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 17:22, 20 May 2015

Template documentation


{{abs|-2/3}} = 0.66666666666667
{{abs|+2/3}} = 0.66666666666667