ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Foxworthy <p...@cohsoft.com.au>
Subject Re: currency.decimal.format
Date Thu, 16 Feb 2017 23:12:58 GMT
Hi Moatasim,

The format in the UtilFormatOut code is a default if the property can't be
found, so use the property and don't change the code.

In your invoices, is the problem the presentation on the screen or when you
create a PDF?

Cheers

Paul Foxworthy


On 16 February 2017 at 20:19, Moatasim Al Masri <malmasri@bi-bst.com> wrote:

> Dears
>
> If I need to change the currency.decimal.format from 2 digits to 3 digits
> in all ofbiz invoices etc.., so we should change it from
>
> *general.property* from currency.decimal.format=#,##0.00
>
>                                   To  currency.decimal.format=#,##0.000
>
> And also change *UtilFormatOut.java*
>
> *From DecimalFormat(UtilProperties.getPropertyValue("general",
> "currency.decimal.format", "#,##0.00"));*
>
> *To     DecimalFormat(UtilProperties.getPropertyValue("general",
> "currency.decimal.format", "#,##0.000"));*
>
>
>
> I changed it but unfortunately not applied on when create invoices, is
> there missing extra step ?
>
>
>
> *Best Regards,*
>
>
>
> *Moatasim L. Al-Masri*
>
> Program Manager
>
>
>
> [image: Description: Logo for Office-4]
>
>
>
> [image: Description: bi email-3-02]
>
>
>
> P.O.Box 3516 Amman, 11821
>
> The Hashemite Kingdom of Jordan
>
> *Tel.*                     +962 (6) 556 2620
>
> *Mob (Jordan).*   +962 79 5426384
>
> [image: Description: bi email-3-04]
>
> [image: Description: bi email-3-05]
>
> /biict
>
> @biict
>
> Kingdom of Saudi Arabia
>
> *Mob (KSA).*        +966 55 7885607 <+966%2055%20788%205607>
>
>
>
>
>
>
>
>
>



-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: info@coherentsoftware.com.au

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message