Download

Quicker way to determine if a number is greater, equal or less than another number? Plus bonus q!

Hey all,
I was just getting a little irritated at having to drag out 2 different boolean comparison nodes and 2 different branches to see if a number is greater, equals or less than another number. Is there a better node/method for this?

Bonus q: Is there a quick way to see if 2 numbers have the same sign? (ie: both numbers are positive/negative, or different)

Thank you so much!

Ah nm, answered my own question by looking in the right click menu without context.

There is a sign node that does pretty much all of this!