Github user JPercivall commented on the pull request:
https://github.com/apache/nifi/pull/310#issuecomment-202964957
The reason I broke out the Decimal functions for math functions is to not
force users to use a specific return value.
For the logical math functions (greater than, etc.) I couldn't figure out
how to parse the incoming values if they were passed in as strings. Since
almost all attributes will be passed in as strings I couldn't make an
assumption on whether to interpret them as longs or doubles.
---
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.
---