[pmwiki-users] Formatting numbers
Hans
design5 at softflow.co.uk
Tue Jul 15 11:59:22 CDT 2008
Tuesday, July 15, 2008, 5:46:50 PM, Scott Smith wrote:
> Oh, I need to include the formatting stuff as well; e.g.,
> ${(numfmt {$:sum} 2, '.', ',')}
> And the result for 22000 is now 22,000.00.
Don't use commas to separate the parameters in the expression.
There should be no need to give all four parameters.
a number and an integer to specify how many decimal places should be
enough.
~Hans
More information about the pmwiki-users
mailing list