Template:Val/delimitnum: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>CBDunkerson
Using abs parserfunction instead of abs template
meta>MBisanz
per request
Line 1: Line 1:
<noinclude>{{documentation|Template:val/doc}}</noinclude><includeonly><!--
<noinclude>{{documentation|Template:val/doc}}</noinclude><!--
-->{{#ifexpr:{{{1|0}}}<0|&minus;}}<!-- Output minus if negative
-->{{#ifexpr:{{{1|0}}}<0|&minus;}}<!-- Output minus if negative
-->{{val/delimitnum/real|{{#expr:abs {{{1|0}}}}}}}<!-- Output value (always positive)
-->{{val/delimitnum/logic|{{{1|0}}}|{{{1|0}}}1}}<!-- Output value (always positive)
--><includeonly>
--><includeonly>

Revision as of 20:22, 10 February 2009

Template:Val/delimitnum/logic