I’m working with Android gestures and the onFling method. There are two float variables get passed velocityX and velocityY. Theses can either be 0.0, positive or negative. Obviously the 0.0 is easy to detect but how to I detect whether it’s a positive or negative float.
I found some code for int and double but nothing relating to float specifically.
Have you tried
<and>? These operators are used for that sort of thing…