We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
this
1 parent fc7b65f commit e78fa27Copy full SHA for e78fa27
packages/calcite-components/src/utils/number.ts
@@ -16,7 +16,7 @@ export class BigDecimal {
16
17
static ROUNDED = true; // numbers are truncated (false) or rounded (true)
18
19
- static SHIFT = BigInt("1" + "0".repeat(BigDecimal.DECIMALS)); // derived constant
+ static SHIFT = BigInt("1" + "0".repeat(this.DECIMALS)); // derived constant
20
21
constructor(input: string | BigDecimal) {
22
if (input instanceof BigDecimal) {
0 commit comments