ok, fixed converting a string to a float and now my boolean operator works as expected.