You should be careful using a '=' comparison on floats, because of the limited precision of floating point numbers. For example, the expression 1 : 3 * 3 = 1 will probably give false. Use the micro flow function floatsEqual(value1, value2, precision) instead.
Both ways will do the trick!