From b5b9af508ab74b1922bc3354d178ebf457db631e Mon Sep 17 00:00:00 2001 From: Eric_Luo Date: Wed, 17 May 2023 00:43:04 +0800 Subject: [PATCH] bug fix (#2314) fix float check logic Co-authored-by: hnboy --- src/helpers/MiscFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp index dca24552..1010a29e 100644 --- a/src/helpers/MiscFunctions.cpp +++ b/src/helpers/MiscFunctions.cpp @@ -243,7 +243,7 @@ bool isNumber(const std::string& str, bool allowfloat) { if (point) return false; point = true; - break; + continue; } if (!std::isdigit(c))