From: Nicolas RECHATIN Date: Wed, 18 Oct 2023 15:29:42 +0000 (+0200) Subject: fix : local float print separator in export ROOT X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=17cfd411918e181b6bfda3facf21f396277a5399;p=modules%2Fshaper.git fix : local float print separator in export ROOT --- 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();