add skewness and kurtosis to value metric in insights explorer

This commit is contained in:
MaysWind
2026-04-16 01:24:07 +08:00
parent 02d8b132f5
commit 7a821abbb6
30 changed files with 181 additions and 54 deletions
+2 -1
View File
@@ -83,6 +83,7 @@ import { useI18n } from '@/locales/helpers.ts';
import { useI18nUIComponents, isiOS } from '@/lib/ui/mobile.ts';
import { NumeralSystem } from '@/core/numeral.ts';
import { AMOUNT_FACTOR } from '@/consts/numeral.ts';
import { ALL_CURRENCIES } from '@/consts/currency.ts';
import { isNumber } from '@/lib/common.ts';
import logger from '@/lib/logger.ts';
@@ -385,7 +386,7 @@ function confirm(): boolean {
finalValue = previous - current;
break;
case '×':
finalValue = Math.trunc(previous * current / 100);
finalValue = Math.trunc(previous * current / AMOUNT_FACTOR);
break;
default:
finalValue = previous;