Fix for percentage discount roundings 

https://github.com/woothemes/woocommerce/issues/3717