[pmwiki-devel] Advanced math functions...
Jiri Hladůvka / OBUTEX
admin at obutex.com
Fri May 11 01:45:23 CDT 2007
What about
INT(nExpression)
MOD(nDividend, nDivisor)
ROUND(nExpression, nDecimalPlaces)
MAX(<Group*>.<Page*>$:PTV)
MIN(<Group*>.<Page*>$:PTV)
AVG(<Group*>.<Page*>$:PTV)
MAX(<Group>.<Page>$:STV)
MIN(<Group>.<Page>$:STV)
AVG(<Group>.<Page>$:STV)
It's again PmWiki rules as I have no use NOW for it
I'd like to have some string function REPLICATE(cExpression, nTimes)
as I make a documentation with PTV "docID" like
1
11
2
21
22
...
which is good for to sort pages in pagelists
and I need in the fmt something like
(:each:)
REPLICATE(' ' , 3*strlen(=$:docID)) [[{=$FullName}|+]]
Regards,
Jiri
The Editor napsal(a):
> I thought of a way to add various kinds of php function to the math
> command that should be easy and safe. I'm wondering if anyone has a
> list of commands they would like to see added to the math expressions
> markup extension?
>
> Maybe:
>
> ceil
> floor
> sqrt
> exp
>
> others? pi? trig functions? ...
>
> Cheers
> Dan
>
> _______________________________________________
> pmwiki-devel mailing list
> pmwiki-devel at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
>
> __________ Informace od NOD32 2255 (20070509) __________
>
> Tato zprava byla proverena antivirovym systemem NOD32.
> http://www.nod32.cz
>
>
>
>
--
OBUTEX s.r.o
Ing.Jiří Hladůvka
Zlatovská 22
911 01 Trenčín
tel.: +421 (0)32 6587000
mailto:admin at obutex.com
http://www.obutex.com
More information about the pmwiki-devel
mailing list