Template:Evalp
Appearance
{{{{{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 "["."].
See also: