Skip to content

formatDutchPercentage

Formats a number as a Dutch localized percentage. The input should be a ratio, so 0.25 is displayed as 25% according to locale rules.

Importing

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

Usage

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

const conversion = formatDutchPercentage(0.153);

Parameters

NameTypeDescription
valuenumberValue to format.

Returns

A Dutch localized percentage string.

Type signature

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

Uses

All packages are released under the MIT License.