FIX: replace ',' with '.' when using minor languages

Change-Id: I992f4c702141f89860625f64d9524ee1c0445cee
This commit is contained in:
zhimin.zeng 2023-08-14 10:30:41 +08:00 committed by lane.wei
parent 6750b5b33c
commit 6a86c9f2a3
3 changed files with 17 additions and 8 deletions

View file

@ -5,13 +5,6 @@
#include "libslic3r/Print.hpp"
namespace Slic3r { namespace GUI {
std::string float_to_string(float value, int precision = 2)
{
std::stringstream stream;
stream << std::fixed << std::setprecision(precision) << value;
return stream.str();
}
CaliPresetCaliStagePanel::CaliPresetCaliStagePanel(
wxWindow* parent,
wxWindowID id,