Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
WC_Tax
remove_precision
WC_Tax::remove_precision PHP Method
WC_Tax Class Documentation
Exibir arquivo
Open project: woocommerce/woocommerce
remove_precision()
private
static
method
Divide cost by pow precision.
private
static
remove_precision
(
float
$price
) :
float
$price
float
return
float
private static function remove_precision($price) { return $price / pow(10, self::$precision); }
WC_Tax
_delete_tax_rate
_get_tax_rate
_insert_tax_rate
_update_tax_rate
_update_tax_rate_cities
_update_tax_rate_locations
_update_tax_rate_postcodes
calc_exclusive_tax
calc_inclusive_tax
calc_shipping_tax
calc_tax
find_rates
find_shipping_rates
format_tax_rate
format_tax_rate_city
format_tax_rate_class
format_tax_rate_country
format_tax_rate_name
format_tax_rate_priority
format_tax_rate_state
get_base_tax_rates
get_matched_tax_rates
get_rate_code
get_rate_label
get_rate_percent
get_rates
get_rates_for_tax_class
get_shipping_tax_rates
get_shop_base_rate
get_tax_classes
get_tax_location
get_tax_total
init
is_compound
maybe_remove_tax_class_rates
precision
prepare_tax_rate
remove_precision
round
sort_rates
sort_rates_callback