Skip to content

Norwegian Number to Words in JavaScript (nb-NO)

Use nb-NO when your application needs Norwegian Bokmål number words for invoicing, checkout flows, or legal documents that print totals in full words.

Locale codes: nb-NO · Numbering system: Short scale · Currency: Krone / Øre · Script: Latin

Install

bash
npm install to-words

Basic Conversion

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

const tw = new ToWords({ localeCode: 'nb-NO' });

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

Currency - Krone / Øre

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

Ordinal Numbers

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

Locale Codes

Locale codeCountryCurrencyNotes
nb-NONorwayKrone / ØreNorwegian Bokmål; standard wording

FAQ

Q: Which locale code should I use for Norwegian number-to-words output? Use nb-NO for Norwegian Bokmål.

Q: Does to-words support Norwegian ordinal words? Yes. nb-NO includes ordinal mappings so toOrdinal() works without any custom suffix logic.

Released under the MIT License.