WordPress at Your Fingertips
function is not described

WC_Tax::format_tax_rate() private WC 1.0

Format the rate.

{} It's a method of the class: WC_Tax{}

No Hooks.

Return

String.

Usage

$result = WC_Tax::format_tax_rate( $rate );
$rate(float) (required)
Value to format.

Code of WC_Tax::format_tax_rate() WC 5.9.0

private static function format_tax_rate( $rate ) {
	return number_format( (float) $rate, 4, '.', '' );
}