Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

money

Formats numbers into localized currency strings.

Usage

import { Beaut } from "@0xhq/beaut";
 
const formatted = Beaut.money(1234.56, { currency: "EUR" }); 
 
Output: "€1,234.56"

Types

Parameters

import { MoneyParameters } from "@0xhq/beaut";

Return Type

import { MoneyReturnType } from "@0xhq/beaut";