Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10403

Currency sum : wrong results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.5
    • 7.0
    • Schema and Analysis
    • centos 7.2

    Description

      We have an issue on currency sum calculation.

      Description of the problem :
      1) Default currency is configured to : USD
      2) We set a value to 2554.55 KRW (column name is price)
      3) Conversion rule USD / KRM is set to 1116.071429
      4) The result value of this function currency(price, 'KRW') is 2544 (0,4 % of error).

      This issue is : currency function convert all price in the default currency with the precision of the currency (2 digit for USD).
      The precision of the currency should apply at the end of the calcul, not on the intermediaire result.

      Could you please check this issue ?

      Thanks,
      Regards,
      Frédéric

      Attachments

        Activity

          People

            Unassigned Unassigned
            fauguste Frédéric auguste
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: