We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rule like this
when accumulate( Fact($bd: bd), $min: min($bd))
doesn't evaluate correctly if facts have BigDecimal with more than 18 digits
##### insert fact: Fact [bd=2024043020240501120000](doubleValue=2.024043020240501E21) ##### insert fact: Fact [bd=2024043020240501130000](doubleValue=2.024043020240501E21) ##### insert fact: Fact [bd=2024043020240501150000](doubleValue=2.024043020240501E21) ##### insert fact: Fact [bd=2024043020240501170000](doubleValue=2.024043020240501E21)
because NumericMinAccumulateFunction uses doubleValue.
NumericMinAccumulateFunction
Workaround: Create a custom accumulate function like BigDecimalMinAccumulateFunction
The text was updated successfully, but these errors were encountered:
Done by #6186
Sorry, something went wrong.
tkobayas
No branches or pull requests
Rule like this
doesn't evaluate correctly if facts have BigDecimal with more than 18 digits
because
NumericMinAccumulateFunction
uses doubleValue.Workaround: Create a custom accumulate function like BigDecimalMinAccumulateFunction
The text was updated successfully, but these errors were encountered: