Skip to content

formatDutchCurrency

Formats a number as Euro currency using Dutch locale rules. It is a focused shortcut for Dutch applications that always display Euro amounts.

Importing

ts
import { formatDutchCurrency } from '@almighty-shogun/utils';

Usage

ts
import { formatDutchCurrency } from '@almighty-shogun/utils';

const total = formatDutchCurrency(1299.5);

Parameters

value: number
Value to format.

Returns

A Dutch localized Euro currency string.

Uses

Type signature

ts
declare function formatDutchCurrency(value: number): string;

All packages are released under the MIT License.