-- is referred to as double unary coercion
A Boolean True/False can be coerced to it's integer equivalent 1/0 respectively in a number of ways, the most common being:
The double unary is opted for by many as it is deemed as perhaps the more efficient of the options ... (using division is limited to specific situations - ie 1/FALSE generally leads to #DIV/0! errors)
Some have/do argue for single unary coercion given less operations required to coerce but it means being aware how of how many "arrays" of values are being coerced - ie if the number is odd the result will be returned in the opposite sign to the correct value.
For a good overview of SUMPRODUCT and coercion see the link in my sig. to Bob Phillips' white paper.
Bookmarks