cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Savory <and...@luminas.co.uk>
Subject Re: fd:output - outputting a formatted number
Date Tue, 14 Mar 2006 16:43:18 GMT
Hi,

Brian Maddy wrote:

> I am using the output widget to output a number to the user.  I would 
> like to format it so it looks like this 1,234,567 instead of 1234567.
> 
> Anyone know how to do something like that?

This can be handled by localisation - take a look at 
http://cocoon.apache.org/2.1/userdocs/i18nTransformer.html#N1015C

Thanks,

Andrew.
-- 
Andrew Savory, Managing Director, Luminas Limited
Tel: +44 (0)870 741 6658  Fax: +44 (0)700 598 1135
Web: http://www.luminas.co.uk/
Orixo alliance: http://www.orixo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message