mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 06:57:35 +08:00
9 lines
363 B
TypeScript
9 lines
363 B
TypeScript
import type { HiddenAmount } from '@/core/numeral.ts';
|
|
|
|
export const DEFAULT_DECIMAL_NUMBER_COUNT: number = 2;
|
|
export const MAX_SUPPORTED_DECIMAL_NUMBER_COUNT: number = 2;
|
|
export const AMOUNT_FACTOR: number = 10 ** MAX_SUPPORTED_DECIMAL_NUMBER_COUNT;
|
|
|
|
export const DISPLAY_HIDDEN_AMOUNT: HiddenAmount = '***';
|
|
export const INCOMPLETE_AMOUNT_SUFFIX: string = '+';
|