woocommerce_internal_rounding_precision

woocommerce_internal_rounding_precision

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.1.2

apply_filters('woocommerce_internal_rounding_precision') is found 1 times:

  • /includes/wc-core-functions.php line 1913
    	 * @since 8.8.0
    	 *
    	 * @param int $precision The number of decimals to round to.
    	 */
    	return apply_filters( 'woocommerce_internal_rounding_precision', $precision );
    }
    
    /**
     * Add precision to a number by moving the decimal point to the right as many places as indicated by wc_get_price_decimals().
     * Optionally the result is rounded so that the total number of digits equals wc_get_rounding_precision() plus one.
     *