@phensley/cldr-core
Version:
Core library for @phensley/cldr
12 lines (11 loc) • 375 B
TypeScript
import { DecimalArg } from '../../types/numbers';
export * from './decimal';
export interface NumericNumberSystem {
readonly type: 'numeric';
readonly digits: string[];
}
export interface AlgorithmicNumberSystem {
readonly type: 'algorithmic';
format(n: DecimalArg): string;
}
export declare type NumberSystem = NumericNumberSystem | AlgorithmicNumberSystem;