TriggerReactor

TriggerReactor

24.6k Downloads

Support auto-casting for int to long comparsion

wysohn opened this issue ยท 0 comments

commented

Long == Integer will just carry the comparison as it is, and the result will be always false no matter what.

For Long to Integer or Integer to Long comparison, always cast the Integer value to Long before comparing them.

Similar idea to Double to Long comparison and Long to Double.

Integer to Double or Double to Integer is already supported.


  • Long to Double
  • Double to Long
  • Integer to Long
  • Long to Integer