Skip to content
Snippets Groups Projects
Commit 1f3b16e6 authored by Michal Malý's avatar Michal Malý
Browse files

Linter

parent 6219d8e5
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ export function reduceDecimals(s: string) { ...@@ -68,7 +68,7 @@ export function reduceDecimals(s: string) {
if (s.charCodeAt(idx) !== Zero) if (s.charCodeAt(idx) !== Zero)
break; break;
} }
const noDot = s.charCodeAt(idx) === Period ? 0 : 1 const noDot = s.charCodeAt(idx) === Period ? 0 : 1;
return s.substring(0, idx + noDot); return s.substring(0, idx + noDot);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment