Skip to content

Commit

Permalink
ingore commas in pasted frequencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreRouma committed Oct 16, 2024
1 parent fbbafdd commit 0e1ab29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/utils/hrfreq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0e1ab29

Please sign in to comment.