wc_cart_round_discount( double $value, int $precision )

Round discount.


Description Description


Parameters Parameters

$value

(Required) Amount to round.

$precision

(Required) DP to round.


Top ↑

Return Return

(float)


Top ↑

Source Source

File: includes/wc-cart-functions.php

function wc_cart_round_discount( $value, $precision ) {
	return wc_round_discount( $value, $precision );
}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.