Ekompute .info <[email protected]> wrote:
> Hi, I am wondering why the expression #expr is not functioning at my website
> at Teknologi-maklumat <http://teknologi-maklumat.jbdirectory.com>. I did
> install the Parserfunction extension and also set slow parser to true.
> [...]
> {{formatnum:{{#expr:{{PAGESINNS:102}}*3.5 round 0}}}}
Hello PM Poon,
#expr works fine on your wiki, but you cannot use commas in
mathematical expressions. {{PAGESINNS:102}} evaluates to "2,387", but
you can get a raw number (without comma) with {{PAGESINNS:102|R}}.
--
Yours cordially,
Jesse (Pathoschild)
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l