Template:Evalns: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>CBDunkerson
Index on template name
Ookami (talk | contribs)
m 7 revisions imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{{{{subst|}}}#if:{{{{{subst|}}}#ifexpr:{{{{{subst|}}}#expr:{{{1}}}}}}}|({{{1}}})|{{{{{subst|}}}#expr:{{{1}}}}}}}</includeonly><noinclude><pre>{{{{{subst|}}}#if:{{{{{subst|}}}#ifexpr:{{{{{subst|}}}#expr:{{{1}}}}}}}|({{{1}}})|{{{{{subst|}}}#expr:{{{1}}}}}}}</pre>
<includeonly>{{{{{subst|}}}#if:{{{{{subst|}}}#ifexpr:{{{{{subst|}}}#expr:{{{1}}}}}}}|({{{1}}})|{{{{{subst|}}}#expr:{{{1}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
 
'''EVAL'''uate, but '''N'''o '''S'''cientific notation.
 
This template can be used to evaluate an expression, if the result has to be suitable as input for further expressions. If the output is not valid as input, the expression is just reproduced, enclosed in parentheses.
 
*<code><nowiki>{{evalns|3*4}}</nowiki></code> gives {{evalns|3*4}}.
*<code><nowiki>{{evalns|1234567890*12}}</nowiki></code> gives {{evalns|1234567890*12}}.
*<code><nowiki>{{evalns|1234567890*1234567890}}</nowiki></code> gives {{evalns|1234567890*1234567890}}.
*<code><nowiki>{{eval|2*{{evalns|1234567890*1234567890}}}}</nowiki></code> gives {{eval|2*{{evalns|1234567890*1234567890}}}}.
 
{{pp-template|small=yes}}
[[Category:Mathematical function templates|{{BASEPAGENAME}}]]
</noinclude>

Latest revision as of 13:41, 3 September 2020