cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tuomo L <>
Subject Number formatting bug in i18n-transformer?
Date Tue, 23 May 2006 14:14:47 GMT

I'm trying to format currency using i18n:number. In the docs, there is an 

<i18n:number type="currency" value="1703.7434" />

which should return: "$1,703.74" using US-locale. I get "1703,00 e" using 
finnish locale. After trying different combinations, it seems that the 
decimal part is always returned as zeros only.

Is this a known bug in i18n-transformer or java? Could someone please 
verify this, so I can then report it to Jira.

Java 1.5.0 (beta 6)

View raw message