woocommerce_format_decimal()
Deprecated from version 3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
No Hooks.
Return
null
. Nothing (null).
Usage
woocommerce_format_decimal( $number, $dp, $trim_zeros );
- $number (required)
- -
- $dp **
- -
Default: false - $trim_zeros **
- -
Default: false
Changelog
Deprecated since | 3.0 |
woocommerce_format_decimal() woocommerce format decimal code WC 9.6.1
function woocommerce_format_decimal( $number, $dp = false, $trim_zeros = false ) { wc_deprecated_function( __FUNCTION__, '3.0', 'wc_format_decimal' ); return wc_format_decimal( $number, $dp, $trim_zeros ); }