Skip to content

Commit

Permalink
Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv committed Jun 17, 2020
1 parent c65e0dc commit 3127b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/apm/public/utils/formatters/duration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export type TimeFormatter = (
type TimeFormatterBuilder = (max: number) => TimeFormatter;

function asDecimalOrInteger(value: number) {
// exact 0 should or above 10 should not have decimal
// exact 0 or above 10 should not have decimal
if (value === 0 || value >= 10) {
return asInteger(value);
}
Expand Down

0 comments on commit 3127b6f

Please sign in to comment.