From 938e0380f495fd9237fdc2acb31c5a6a001c3519 Mon Sep 17 00:00:00 2001 From: "Laurent Destailleur (aka Eldy)" Date: Mon, 30 Dec 2024 01:26:53 +0100 Subject: [PATCH] Doc --- htdocs/core/lib/functionsnumtoword.lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/lib/functionsnumtoword.lib.php b/htdocs/core/lib/functionsnumtoword.lib.php index 967644efaaf..77df277209a 100644 --- a/htdocs/core/lib/functionsnumtoword.lib.php +++ b/htdocs/core/lib/functionsnumtoword.lib.php @@ -153,11 +153,12 @@ function dol_convertToWord($num, $langs, $currency = '', $centimes = false) /** * Function to return number or amount in text. * - * @deprecated * @param float $numero Number to convert * @param Translate $langs Language * @param string $numorcurrency 'number' or 'amount' * @return string|int Text of the number or -1 in case TOO LONG (more than 1000000000000.99) + * + * @deprecated Use dol_convertToWord instead */ function dolNumberToWord($numero, $langs, $numorcurrency = 'number') {