Yes, but the math will result in zero if the quantity is < the DiscountUnitThreshold anyway, so no need to check. You just need to check that the DiscountUnitThreshold is not zero since you can't divide by zero.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.