Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
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
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.