WordPress at Your Fingertips
function is not described

wc_format_localized_decimal() WC 1.0

Format a decimal with PHP Locale settings.

Hooks from the function

Return

String.

Usage

wc_format_localized_decimal( $value );
$value(string) (required)
Decimal to localize.

Code of wc_format_localized_decimal() WC 6.1.1

function wc_format_localized_decimal( $value ) {
	$locale = localeconv();
	return apply_filters( 'woocommerce_format_localized_decimal', str_replace( '.', $locale['decimal_point'], strval( $value ) ), $value );
}