lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric auguste (JIRA) <>
Subject [jira] [Created] (SOLR-10403) Currency sum : wrong results
Date Mon, 03 Apr 2017 08:58:41 GMT
Frédéric auguste created SOLR-10403:

             Summary: Currency sum : wrong results
                 Key: SOLR-10403
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 6.5
         Environment: centos 7.2
            Reporter: Frédéric auguste

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

Could you please check this issue ?


This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message