Skip to main content

UseLocalFormat

This hook is used to format numbers and currencies using the configured language and locale of the dashboard app.

Example

Ts
const {         formatCurrency,         formatNumber,         formatDate,         formatLanguageName,         formatCurrencyName,         toMajorUnits,} = useLocalFormat();
Signature
function useLocalFormat(): void
Was this chapter helpful?
Report Issue
Edited Feb 2, 2026·Edit this page