diff --git a/main.c b/main.c index 3db6d22..a420f9b 100644 --- a/main.c +++ b/main.c @@ -529,7 +529,7 @@ my_atof(const char *p) p++; if (*p == 'k' || *p == 'M' || *p == 'G') p++; - if (*p == '.') { + if (*p == '.' || *p == ',') { float d = 1.0; p++; while (_isdigit((int)*p)) {