import { formatCurrency } from "https://deno.land/x/netzo@0.4.49/plugins/auth/utils/display.ts";
Returns a formatted string based on the given amount of currency and the
en-US
locale. Change the locale for your use case as required.
Examples
Example 1
Example 1
import { formatCurrency } from "../../../../auth/utils/display.ts";
formatCurrency(5, "USD"); // Returns "$5"