The Calculation condition evaluates a calculation which can include variables and functions and returns true if the result is valid and anything other than zero.
For much more detail, see: Calculations in the Keyboard Maestro Manual