Skip to content

Dutch Number to Words in JavaScript (nl-NL, nl-SR) โ€‹

Use nl-NL or nl-SR when your application needs Dutch number words for invoicing, checkout flows, or legal documents that print totals in full words.

Locale codes: nl-NL, nl-SR ยท Numbering system: Short scale ยท Currency: Euro / Cent (nl-NL), Surinaamse dollar / Cent (nl-SR) ยท Script: Latin

Install โ€‹

bash
npm install to-words

Basic Conversion โ€‹

js
import { ToWords } from 'to-words';

const tw = new ToWords({ localeCode: 'nl-NL' });

tw.convert(100);
tw.convert(1000);
tw.convert(1000000);

Currency - Euro / Cent โ€‹

js
tw.convert(1234.56, { currency: true });
tw.convert('500.00', { currency: true, includeZeroFractional: true });

Suriname (nl-SR) โ€‹

js
const twSR = new ToWords({ localeCode: 'nl-SR' });
twSR.convert(1234.56, { currency: true });
// Uses Surinaamse dollar / Cent

Ordinal Numbers โ€‹

js
tw.toOrdinal(1);
tw.toOrdinal(10);
tw.toOrdinal(100);

Locale Codes โ€‹

Locale codeCountryCurrencyNotes
nl-NLNetherlandsEuro / CentStandard Dutch number wording
nl-SRSurinameSurinaamse dollar / CentDutch-based wording with SRD currency

FAQ โ€‹

Q: Which locale code should I use for Dutch number-to-words output? Use nl-NL for Netherlands. Use nl-SR for Suriname.

Q: Does to-words support Dutch ordinal words? Yes. Both nl-NL and nl-SR include ordinal mappings.

Released under the MIT License.