Template:Val/delimitnum: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>CBM
m Protected Template:Val/delimitnum: highly used template [edit=sysop:move=sysop]
meta>CBDunkerson
Using abs parserfunction instead of abs template
Line 1: Line 1:
<noinclude>{{documentation|Template:val/doc}}</noinclude><includeonly><!--
<noinclude>{{documentation|Template:val/doc}}</noinclude><includeonly><!--
-->{{#ifexpr:{{{1|0}}}<0|&minus;}}<!-- Output minus if negative
-->{{#ifexpr:{{{1|0}}}<0|&minus;}}<!-- Output minus if negative
-->{{val/delimitnum/real|{{abs|{{{1|0}}}}}}}<!-- Output value (always positive)
-->{{val/delimitnum/real|{{#expr:abs {{{1|0}}}}}}}<!-- Output value (always positive)
--><includeonly>
--><includeonly>

Revision as of 01:57, 23 July 2008