woocommerce_tax_round, NumberUtil::round( $in, wc_get_rounding_precision(
woocommerce_tax_round, NumberUtil::round( $in, wc_get_rounding_precision(
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_tax_round, NumberUtil::round( $in, wc_get_rounding_precision(') is found 1 times:
- /includes/class-wc-tax.php line 118
* @param float|int $in Value to round. * @return float */ public static function round( $in ) { return apply_filters( 'woocommerce_tax_round', NumberUtil::round( $in, wc_get_rounding_precision() ), $in ); } /** * Calc tax from inclusive price. * * @param float $price Price to calculate tax for.