Fix handling dots in String::is_numeric().

This commit is contained in:
Relintai 2023-06-01 15:41:43 +02:00
parent dbc5b1df35
commit 50fa3addad

View File

@ -2388,6 +2388,7 @@ bool String::is_numeric() const {
return false;
};
dot = true;
continue;
}
if (c < '0' || c > '9') {
return false;