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

boolean expression with decimals #108

Open
jpoorrandp opened this issue Dec 5, 2023 · 0 comments
Open

boolean expression with decimals #108

jpoorrandp opened this issue Dec 5, 2023 · 0 comments

Comments

@jpoorrandp
Copy link

Is it possible to use decimal type in a boolean expression such as:: "myDecVar >= 10.0" ?

If MyDecVar is something like 3.1, flee throws an error, saying:

"Error: CompareElement: Operation 'GreaterThanOrEqual' is not defined for types 'Decimal' and 'Double'"

Same for GreaterThan and Equals.

Works fine with integers.
Is there a way to use decimals this way in flee, or should I just convert to decimals.
Thanks
Jonathan

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

No branches or pull requests

1 participant