Skip to content
New issue

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

Max double or float as output expression cannot be returned #90

Closed
tasso94 opened this issue Feb 7, 2020 · 0 comments · Fixed by #133
Closed

Max double or float as output expression cannot be returned #90

tasso94 opened this issue Feb 7, 2020 · 0 comments · Fixed by #133

Comments

@tasso94
Copy link
Member

tasso94 commented Feb 7, 2020

Describe the bug

  • Return a variable with the value Double.MAX_VALUE or Float.MAX_VALUE
  • A 0 value of type long is returned.

To Reproduce
Steps to reproduce the behavior:

  1. Evaluate a simple expression
  2. Pass a variable with the value Double.MAX_VALUE or Float.MAX_VALUE

Expected behavior
The correct value of type Double is returned.

Environment
FEEL Scala 1.11.0-alpha1

Failing test case:
camunda/camunda-bpm-platform@8431c3

related to CAM-11382

@tasso94 tasso94 assigned saig0 and unassigned saig0 Feb 7, 2020
@tasso94 tasso94 changed the title Max double as output expression cannot be returned Max double or float as output expression cannot be returned Feb 25, 2020
koevskinikola pushed a commit that referenced this issue Jun 5, 2020
* transform a number that is greater than Long.MaxValue into a Double instead of a Long

closes #90
saig0 added a commit that referenced this issue Jun 8, 2020
* transform a number that is greater than Long.MaxValue into a Double instead of a Long

closes #90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants