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
Describe the bug I use the function number() to convert a string into a number. If the string is not a number then the evaluation fails.
number()
An evaluation failure is unexpected and it doesn't allow to handle this case.
To Reproduce Steps to reproduce the behavior:
number("x")
Expected behavior The function should return null if the string is not a valid number.
null
See the TCK test case 0058-feel-number-function.
Environment
1.17.0
Related to #623
The text was updated successfully, but these errors were encountered:
saig0
Successfully merging a pull request may close this issue.
Describe the bug
I use the function
number()
to convert a string into a number. If the string is not a number then the evaluation fails.An evaluation failure is unexpected and it doesn't allow to handle this case.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The function should return
null
if the string is not a valid number.See the TCK test case 0058-feel-number-function.
Environment
1.17.0
Related to #623
The text was updated successfully, but these errors were encountered: