Streams ignore floating point numbers when using numeric rules #1101
I set up a stream where one of the conditions was that the field 'cost' was greater than 0. I then sent messages that had a cost of 0.1. None of these messages went into the stream. I then tried sending message that had a cost of 1, all of which went into the stream. Finally, I sent messages that had a cost of 1.1, none of which went into the stream.
stream rule is cost must be > 0
Are floating point values not accepted here? as far as I can tell float work everywhere else (graphs and statistics).
This is with version 1.0.1
The text was updated successfully, but these errors were encountered:
I think, without checking the code right now, that the field is indeed an
That needs to be corrected since it shouldn't break existing behavior.
Before this, all values have been converted to ints. Fixes #1101