From 17cfd411918e181b6bfda3facf21f396277a5399 Mon Sep 17 00:00:00 2001 From: Nicolas RECHATIN Date: Wed, 18 Oct 2023 17:29:42 +0200 Subject: [PATCH] fix : local float print separator in export ROOT --- src/GeomAlgoAPI/GeomAlgoAPI_ROOTExport.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_ROOTExport.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_ROOTExport.cpp index 3590dfaa9..bbb803849 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_ROOTExport.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_ROOTExport.cpp @@ -29,9 +29,12 @@ #include #include "math.h" + + //================================================================================================= static std::string doubleToString(const double &theValue) { + std::locale::global(std::locale("C")); std::ostringstream str; str << theValue; return str.str(); -- 2.39.2