Author Topic: Too few Price decimals  (Read 492 times)

Offline Antoine

  • Sr. Member
  • ****
  • Posts: 154
    • View Profile
Too few Price decimals
« on: 15/June/2011, 02:00:03 AM »
Could you enable by default to have more decimals to set price rather than only 2 ?
I can't configure prices with taxes as it is rounded without enough precision, leading to bad extra cents in final price.

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,984
    • View Profile
Re: Too few Price decimals
« Reply #1 on: 15/June/2011, 08:00:39 AM »
This is on the 'to do' list, but there is partial support already (which might or might not be sufficient for you). If you are comfortable with updating the database directly (jos_nbill_product_price), all prices are held in 6 decimal places. Even so, some calculations might still presume 2 decimal places at the moment, as I haven't implemented it throughout. You can also amend the /administrator/components/com_nbill/framework/nbill.number.format.php file and change the default decimal places there (although that might cause too many decimal places to appear in some areas).