mariovaldez.net

MV.net forums
It is currently 14 Jul 2016, 00:34

All times are UTC - 7 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: 11 Aug 2007, 10:07 
Hi,

I live in Finland and we must tell consumers prices always with taxes (22% VAT in this case) and that's why we need to think with the gross prices all the time. In result, when I add products with Product Manager, I only input the price with tax included (gross).

The problem is that when I save, Product Manager only saves last two decimals to the DB altough it correctly calculates the price (net) with four decimals on the form.

This generates super-annoying rounding errors, f.ex.
I enter 10.90 to gross and the program calculates correctly the net of 8.9344 - but - saves 8.93 to the DB so when I open the product again, the gross is 10.8946, which rounds down to 10.89 instead of 10.90 in the shop.

This is kind of urgent for me as I chose this program mostly because I can enter the price as I do now (otherwise Easy Populate would have done the trick) and it's a heck of a lot faster to use this great piece of sw than adding 100+ products through web interface.


Report this post
Top
  
Reply with quote  
 Post subject: Hi men
PostPosted: 18 Aug 2007, 10:57 

Joined: 23 Jul 2007, 16:33
Posts: 17
Location: Veracruz, Mexico
I don´t speak english good but i tray....


I suppose that the problem this in the code.

Already looked for if it´s not configuration?


If it´s the code, I don´t believe that something can be done, wait for Mario.

Sorry, My translation was bad.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Rounding errors...
PostPosted: 25 Aug 2007, 07:34 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
Jupaju:

> The problem is that when I save, Product Manager only saves last
> two decimals to the DB altough it correctly calculates the price (net)
> with four decimals on the form. This generates super-annoying
> rounding errors...

I'll check it out. I thought I had fixed those rounding error long time ago...


Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group