is there an equation that will return 1 for a certain number and 0 for anything else? So, say I want to test whether some value is equal to 47, but I want to be able to do it right inside an expression, rather than as a separate condition - is there some way to make an equation turn 47 into 1, while any other number will result in 0? Perhaps using one of the bitwise operators or something?
I've been using the Immediate If object for this (ie. to squeeze a condition inside an expression) but if there's a mathematical and extension-less way I think I'd prefer to use that.