Decimal quantity in tracked items

Pedro Carvalho's Avatar

Pedro Carvalho

13 Jan, 2011 11:57 AM

Hi

When we set a decimal quantity for a tracked item, CG accepts the value and correctly calculates the cost for the pending invoice, but when the invoice is processed, the quantity value is rounded to an integer. For instance:

  1. add a quantity of 2.5 for an item with a cost of $0.99
  2. the current invoice shows correctly 2.5*$0.99=$2.48
  3. when the invoice is processed, the quantity is rounded to 3 and the total value is 3*$0.99=$2.97

We are seeing this with the simulated gateway.
Is this an expected behavior?

Thanks

Pedro Carvalho

  1. Support Staff 1 Posted by Marc Guyer on 13 Jan, 2011 05:24 PM

    Marc Guyer's Avatar

    That appears to be a missed db migration. Good catch. We're running a patch through some regression tests now and should have the patch deployed later today. Thanks for the report!

  2. Pedro Carvalho closed this discussion on 30 Jan, 2011 04:22 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM