Github user LosD commented on the issue:

    https://github.com/apache/metamodel/pull/128
  
    While not a super example, since there's not really a general math library 
with an average, but most of them go pretty far not to change type on you, and 
I would certainly expect the same with an average. Especially since you can't 
predict the same result of a float average casted to an int, as of an int 
average. Even worse if you have decimals and want to make an average of them 
since you wouldn't use decimals if you didn't care about precision and 
predictably in the first place.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to