|
|
(6 intermediate revisions by 5 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}}}}.
| |
| | |
| [[Category:Mathematical templates|{{PAGENAME}}]]
| |
| </noinclude> | |