-
Notifications
You must be signed in to change notification settings - Fork 29
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
Casting to float: document how to do it #345
Comments
In |
Is this actually a problem with Perseo? Or just a consequence of how EPL works? |
Could you provide a full example (rule, action, data, expected data) ? In general if you use version 2 of NGSI for updateAction then float cast is done automatically: |
if there is a
|
It would be nice document that explanation #345 (comment) into doc about EPL usage https://github.com/telefonicaid/perseo-fe/blob/master/docs/API/plain_rules.md#epl-text |
In order to make a casting to float it is needed to make the following
(cast(cast(
battery?, String), float)
If we make
(cast(
battery?, float)
the rule does not work as expected.The text was updated successfully, but these errors were encountered: