From 09e89b2b9e559ff3f9ccff8a70b023a4d04fa97a Mon Sep 17 00:00:00 2001 From: Kirill Bobkov Date: Wed, 1 Nov 2023 18:58:40 +0400 Subject: [PATCH] fix: sometimes volume label is displayed incorrectly // unexpected export --- src/chart/utils/math.utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart/utils/math.utils.ts b/src/chart/utils/math.utils.ts index c559f15c..1f17225c 100644 --- a/src/chart/utils/math.utils.ts +++ b/src/chart/utils/math.utils.ts @@ -5,7 +5,7 @@ import { StringTMap } from './object.utils'; * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -export const MAX_DECIMAL_DIGITS = 14; +const MAX_DECIMAL_DIGITS = 14; // Array of powers of 10. Used in roundDecimal to walk through mantissa. const POW10: number[] = [];