Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
Enforce whole number percentiles
Browse files Browse the repository at this point in the history
  • Loading branch information
fungjj92 committed Sep 1, 2017
1 parent 5906d6d commit 1ef7c11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class PercentileComponent implements AfterViewInit, OnInit {
const pctl = form.percentileCtl;
if (pctl > 100 || pctl < 1) { return; }
this.percentileParamSelected.emit({
'percentile': parseInt(pctl)
'percentile': Math.round(pctl)
});
});
}
Expand Down

0 comments on commit 1ef7c11

Please sign in to comment.