The term "expr" refers to Wikipedia's "#expr" wp:parser function to calculate expressions. Formats:

  • {{#expr: (5*10 + 3^2 +8)/2 }} → calculate expression: (5×10 + 32+8)/2 = 33.5
  • {{#expr: 2*7.1 + 2/3 round 4 }} → rounded: 2×7.1 + 2÷3 round 4 = 14.8667
  • {{#expr: floor(1.8+1.9) + 4.3 }} → truncated:  floor(1.8+1.9) + 4.3 = 7.3
  • {{#expr: 12+47 mod 10 }}   → calculate modulo remainder: 12+47 mod 10 = 19
  • {{#expr: 10^1 + pi }} = 13.14159265359
  • {{#expr: cos pi + cos 3.14159265358 }} = -2
  • {{#expr: ln 200.5 }} = 5.3008142467466

A related page is Help:Wikitext, see: {{Wikitext/help}}.

The page Template:Expr/help displays a condensed helpbox about the #expr wp:parser function, to be displayed as a concise nutshell overview, of calculation options, while editing another page.

The helpbox contains the basic calculation operators:

  • expressions:   {{#expr: (5*10 + 3^2 +8)/2 }} → calculate expression: (5×10 + 32+8)/2 = 33.5

Other major options can be listed, as needed.

"https://te.wikipedia.org/w/index.php?title=మూస:Expr/help&oldid=1382195" నుండి వెలికితీశారు