@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
10 lines (9 loc) • 432 B
TypeScript
/**
* Formats a number into a currency string.
*
* @param value - The numeric value to format.
* @param currency - The currency code (e.g., 'USD', 'EUR'). Defaults to 'USD'.
* @param locale - The locale string (e.g., 'en-US', 'de-DE'). Defaults to 'navigator.language' or 'en-US'.
* @returns The formatted currency string.
*/
export declare function formatCurrency(value: number, currency?: string, locale?: string): string;