Template:Evalp

From MidsouthMakers - Memphis Area Hackerpace
Revision as of 17:53, 18 January 2010 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{{{subst|}}}#expr:{{{1}}}}}

Error handling:

  • {{evalp|2*{{evalp|1234567890*1234567890|(inner expression)}}|(outer expression)}} gives 3.0483157500382E+18.
  • {{evalp|2*{{evalp|12*1234567890|(inner expression)}}|(outer expression)}} gives 29629629360.

{{subst:evalp|2*14814814680|(outer expression)|subst=subst:}} gives the wikitext 29629629360.

Debug mode:

  • {{evalp|12/1234567890|(inner expression)|d=d}} gives [expression "12/1234567890" (inner expression) gives the result "9.720000088452E-9"].
  • {{evalp|2*{{evalp|1234567890*1234567890|(inner expression)|d=d}}|(outer expression)|d=d}} gives [expression "2*[expression "1234567890*1234567890" (inner expression) gives the result "1.5241578750191E+18"]" (outer expression) gives system message "Expression error: Unrecognized punctuation character "["."].

Also see

ar:قالب:Evalp dsb:Pśedłoga:Evalp hsb:Předłoha:Evalp ko:틀:Evalp no:Mal:Evalp stq:Foarloage:Evalp