I think you could use 0.0000 for your tracking discounts and change your export to only show it if there is a name. Then you don't have to worry about the math.
order.DiscountUsageHistory.Count() will also tell you how many discounts are on the order.