App sometimes not calculating properly

Create issue
Issue #5 resolved
KarrazahAerandel created an issue

The circulation and turnover/day for min/avg/max are sometimes not calculated with the right results. I included a pic for reference.

Comments (9)

  1. KarrazahAerandel reporter

    Here's another example where the turnover/day doesn't match the price x circulation. For example, shouldn't the max turnover/day for NQ varnish be 8,999 x 6 = 53,994G? How is it coming up with 1,438G?


  2. Toy Ruby repo owner

    Thanks for the screenshot. I found out that unexpected data was mixed. Recent Transactions were supposed to be arranged in chronological order.

    But, there was an exception.

    • 2/8 3:33 p.m.
    • 2/8 2:26 p.m.
    • 2/8 12:26 p.m. (= 0:26 p.m.?)

    Does this time expression match in English notation?

  3. Toy Ruby repo owner

    In addition, I will explain the calculation result of turnover / day. circulation has two units.

    • pcs/day ( = pieces/day )
    • day/pcs ( = day/pieces ... Correctly days/piece?)

    If the amount sold in a day is small, the unit will be reversed. In the previous example, Ciruclation units is day/pcs by the problem at 12 o'clock.

    So, Turnover/day is 8,999 / 6(.25) = 1,438G.

  4. KarrazahAerandel reporter

    I see. I actually figured out about the days/pcs vs pcs/day thing. Gotcha. 12:26 PM in military time is 1226. 12:26 AM in military time is 0026.

  5. Log in to comment