The currency transform already allows you to specify the rounding, although IMO rounding shouldn't generally be necessary for display because the value itself should have already been appropriately rounded.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 13/09/2009, at 11:41 AM, Jacques Le Roux wrote:

Hi,

I wonder if we should not have something like rounding arg in ofbiztransform for retVal = UtilFormatOut.formatCurrency(parsedRetVal, isoCode, locale, 10); // we set the max to 10 digits as an hack to not round numbers in the ui

WDYT ?

Jacques

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to