From a6f34df27b3756f9091f6d36e212ea21d9f8704c Mon Sep 17 00:00:00 2001 From: mtollari Date: Wed, 14 Sep 2016 13:29:15 +0000 Subject: [PATCH] Patch level : 12.0 no patch Files correlati : Commento : Patch level : 12.0 no patch Files correlati : Commento : Aggiunti inline operator aritmetici anche per i longdouble git-svn-id: svn://10.65.10.50/branches/R_10_00@23278 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- src/db/dblib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/dblib.cpp b/src/db/dblib.cpp index 08530f194..73aec373e 100755 --- a/src/db/dblib.cpp +++ b/src/db/dblib.cpp @@ -297,7 +297,7 @@ real TLavorazione::prezzo() const { if (is_euro_value("")) // Se la ditta è in Euro { - TPrice pr(get_real("R0") / 1936.27); + TPrice pr(get_real("R0") / real(1936.27)); p = pr.get_num(); } else