Fix casting to int in SLO-Generic
- Jun 09, 2022
-
-
5b5a179e
-
The SLO generics needs integer values. But in some cases converting to int does not work correctly.
For example, the value: "3970.00000000005" cannot be cast to an integer and the evaluation fails. In this case it is necessary to cast first to a float and then to an integer.