From 5087e00f1795732885742daaaba7a79251697794 Mon Sep 17 00:00:00 2001 From: Rohan Sharma Date: Thu, 1 Jul 2021 17:41:33 +0530 Subject: [PATCH] task: revise docblock for wc_format_decimal() --- includes/wc-formatting-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/wc-formatting-functions.php b/includes/wc-formatting-functions.php index 264ad8fd62b..2bb63a68b5d 100644 --- a/includes/wc-formatting-functions.php +++ b/includes/wc-formatting-functions.php @@ -278,7 +278,7 @@ function wc_format_refund_total( $amount ) { /** * Format decimal numbers ready for DB storage. * - * Sanitize, remove decimals, and optionally round + trim off zeros. + * Sanitize, optionally remove decimals, and optionally round + trim off zeros. * * This function does not remove thousands - this should be done before passing a value to the function. *