Support » Plugin: WooCommerce Bulk Discount » Add More Decimal Places to Percentage

Viewing 1 replies (of 1 total)
  • If you need more decimals, like 1.04567

    open woocommerce-bulk-discount.php
    search round
    round( $d[0], 2 ) replace with round( $d[0], 10 )
    and replace number 2 with any number you need (eg. 10)
    there is several places for this replacement.

    This should be included in plugin. Two decimal places are not enough.

    eg. I need price range:
    1-4: 2540
    5-9: 2450
    and discount is 3.54331%

Viewing 1 replies (of 1 total)
  • The topic ‘Add More Decimal Places to Percentage’ is closed to new replies.