arkemishub/arke

[fix] - float filters

Opened this issue · 1 comments

If a filter is built with a float and the values does not have the decimal it throws an error. Instead it should work. Below an example of the filter.

----- DOES NOT work ----
filter=and(lte(integer_support,5),lte(float_support,15))

Image

----- work -----
filter=and(lte(integer_support,5),lte(float_support,15.0))

Better to use Float.parse and Integer.parse insted of String.to_float and String.to_integer.
That's because float numbers like "8" are invalid according to String.to_float