@adyen/adyen-web
Version:
[](https://www.npmjs.com/package/@adyen/adyen-web)
29 lines (28 loc) • 767 B
TypeScript
/**
* @internal
* @param currencyCode -
* Get divider amount
*/
export declare const getDivider: (currencyCode: string) => number;
/**
* @internal
* @param currencyCode -
* Returns whether a CURRENCY CODE is valid
*/
export declare const isValidCurrencyCode: (currencyCode: string) => boolean;
/**
* @internal
*/
export declare const getCurrencyCode: (currencyCode: string) => string;
/**
* @internal
*/
export declare const getDecimalAmount: (amount: number | string, currencyCode: string) => number;
/**
* @internal
*/
export declare const getLocalisedAmount: (amount: number, locale: string, currencyCode: string, options?: {}) => string;
/**
* @internal
*/
export declare const getLocalisedPercentage: (percent: number, locale: string) => string;