UseLocalFormat
useLocalFormat
This hook is used to format numbers and currencies using the configured language and locale of the dashboard app.
Example
const {
formatCurrency,
formatNumber,
formatDate,
formatLanguageName,
formatCurrencyName,
toMajorUnits,
} = useLocalFormat();
Signature
function useLocalFormat(): void