Skip to content

Commit

Permalink
Merge pull request #3188 from 0o001/main
Browse files Browse the repository at this point in the history
parseFloat to Number
  • Loading branch information
wobba authored Aug 11, 2023
2 parents 35a668d + 27390e5 commit 2081d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search-parts/src/helpers/LocalizationHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class LocalizationHelper {
}

private static isInt(value: any): boolean {
const x = parseFloat(value);
const x = Number(value);
return Number.isInteger(x);
}

Expand Down

0 comments on commit 2081d56

Please sign in to comment.