nathansm
Nathan
nathansm

The zero is implied - so no need for “”. Also, if the denominator (d2) is zero in the first place then the if will evaluate to false, pulling in the implied zero.