Hopp til innhold

Mal:Evalp

Fra Wikipedia, den frie encyklopedi

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

Feilhåndtering:

  • {{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:}} gir wikiteksten 29629629360.

Debuggingsmodus:

  • {{evalp|12/1234567890|(inner expression)|d=d}} gir [expression "12/1234567890" (inner expression) gives the result "9.720000088452E-9"].
  • {{evalp|2*{{evalp|1234567890*1234567890|(inner expression)|d=d}}|(outer expression)|d=d}} gir [expression "2*[expression "1234567890*1234567890" (inner expression) gives the result "1.5241578750191E+18"]" (outer expression) gives system message "Uttrykksfeil: Ugjenkjennelig skilletegn «[»"].


Mal fra MetaWiki:Template:Evalp