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

NameTypeDescription
valuenumberValue to format.

Returns

A Dutch localized Euro currency string.

Type signature

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

Uses

All packages are released under the MIT License.