Template:Val/delimitnum: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SkyLined
m Updated doc
meta>SkyLined
Replaced formula with {{abs}}
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|{{#ifexpr:{{{1|0}}}<0|-{{{1}}}|{{{1|0}}}}}}}<!-- Output value (always positive)
-->{{val/delimitnum/real|{{abs|{{{1|0}}}}}}}<!-- Output value (always positive)
--><includeonly>
--><includeonly>

Revision as of 17:23, 16 April 2008