amount-to-words-multilang
Version:
Convert numbers to words in multiple languages (EN, TH, FR, JA, DE, ET, ES, FA, ZH)
11 lines (10 loc) • 350 B
TypeScript
import { LocaleConverter } from '../types';
export declare class ChineseConverter implements LocaleConverter {
private readonly numbers;
private readonly majorUnit;
private readonly minorUnit;
convert(amount: number): string;
private convertInteger;
private convertCents;
}
export declare const zhConverter: ChineseConverter;