From 3127b6fda1183a0fc692297c72af91c467c644c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Wed, 17 Jun 2020 09:36:07 +0200 Subject: [PATCH] Fix comment typo --- x-pack/plugins/apm/public/utils/formatters/duration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/apm/public/utils/formatters/duration.ts b/x-pack/plugins/apm/public/utils/formatters/duration.ts index 9a0184744e85c..64a9e3b952b98 100644 --- a/x-pack/plugins/apm/public/utils/formatters/duration.ts +++ b/x-pack/plugins/apm/public/utils/formatters/duration.ts @@ -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); }