ez-shp-storefront
Version:
A helper function collection for Shopify storefront.
11 lines (10 loc) • 394 B
TypeScript
export declare class MoneyFormatter {
static instance: MoneyFormatter;
private moneyFormat;
setMoneyFormat(format: string): MoneyFormatter;
getMoneyFormat(): string;
private constructor();
static getInstance(): MoneyFormatter;
formatWithDelimiters(number: any, precision: any, thousands?: any, decimal?: any): string;
get(cents: any, format?: string): string;
}