VPMS Web Application

Unit cost calculations can cause decimal calculation errors for certain price and pack size combinations

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3
  • Fix Version/s: 1.3
  • Component/s: Product
  • Labels:
    None

Description

When calculating unit costs from list prices it is possible to get a "non terminating decimal expansion" error due to a combination of list price and pack size not evaluating to a representable decimal value.

Suggest rounding to 3 decimal places in order to overcome this error.

Activity

Hide
Tim Anderson added a comment -

Fixed in archetypes, revision 3140.

Show
Tim Anderson added a comment - Fixed in archetypes, revision 3140.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
3h
Original Estimate - 3h
Remaining:
1.25h
Time Spent - 1.75h Remaining Estimate - 1.25h
Logged:
1.75h
Time Spent - 1.75h Remaining Estimate - 1.25h