From f6572c39eb697b2a0fe9d4f4c46c605c72428dfa Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期五, 16 八月 2024 15:35:47 +0800 Subject: [PATCH] update --- jrj/xframe/xcontrol/xdwtable.hpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/jrj/xframe/xcontrol/xdwtable.hpp b/jrj/xframe/xcontrol/xdwtable.hpp index 05f76fc..c51aa4b 100644 --- a/jrj/xframe/xcontrol/xdwtable.hpp +++ b/jrj/xframe/xcontrol/xdwtable.hpp @@ -453,24 +453,28 @@ int GetItemInt(int row, int col) { xstring str = GetItemString(row, col); + str = str.replace(L",", L""); return str.toInt(); } double GetItemDouble(int row, int col) { xstring str = GetItemString(row, col); + str = str.replace(L",", L""); return str.toDouble(); } int GetItemInt(int row, string col) { xstring str = GetItemString(row, col); + str = str.replace(L",", L""); return str.toInt(); } double GetItemDouble(int row, string col) { xstring str = GetItemString(row, col); + str = str.replace(L",", L""); return str.toDouble(); } -- Gitblit v1.9.3