Template:Evalp
From FEInfobase
{{{{{subst|}}}#expr:{{{1}}}}}
Error handling:
- {{evalp|2*{{evalp|1234567890*1234567890|(inner expression)}}|(outer expression)}} gives 3.04831575004E+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.72000008845E-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.52415787502E+18"]" (outer expression) gives system message "Expression error: Unrecognised punctuation character "[""].
Also see