ingore commas in pasted frequencies

This commit is contained in:
AlexandreRouma 2024-10-16 22:14:12 +02:00
parent fbbafddd3d
commit 0e1ab29b5d

@ -70,6 +70,9 @@ namespace hrfreq {
// If isn't numeric, skip it
if (!isNumeric(c)) { continue; }
// If it's a comma, skip it for now. This enforces a dot as a decimal point
if (c == ',') { continue; }
// Add the character to the numeric string
numeric += c;
}