Hi Jesse, that was magical! I suspected that, among many many suspects, and
I tried {{PAGESINNS:102}}:R which of course didn't work.
Thank you very very much. An expression on the homepage was indeed very very
ugly.
PM Poon
On Mon, Apr 19, 2010 at 7:22 PM, Jesse (Pathoschild)
<pathoschild(a)gmail.com>wrote;wrote:
Ekompute .info <ekompute(a)gmail.com> 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
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l