From c727bbb530b5d3a884fbfbf25609d7ad383631a3 Mon Sep 17 00:00:00 2001 From: Florian Mortgat <50440633+atm-florianm@users.noreply.github.com> Date: Thu, 26 Sep 2024 18:41:41 +0200 Subject: [PATCH] FIX: when qty is not an integer, apply price() (#31138) * FIX: when qty is not an integer, apply price() to avoid displaying precision errors if php.ini's precision settings are too high * Apply eldy's suggestion to use price's parameters rather than a test --- htdocs/compta/stats/cabyprodserv.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/stats/cabyprodserv.php b/htdocs/compta/stats/cabyprodserv.php index 0a30390e215..3d1f12ce8b6 100644 --- a/htdocs/compta/stats/cabyprodserv.php +++ b/htdocs/compta/stats/cabyprodserv.php @@ -425,7 +425,7 @@ print_liste_field_titre( // Quantity print '