Skip to content

Estonian Number to Words in JavaScript (ee-EE)

Use ee-EE when your application needs Estonian number words for invoicing, checkout flows, or legal documents that print totals in full words.

Locale codes: ee-EE · Numbering system: Short scale · Currency: Euro / Sent · Script: Latin

Install

bash
npm install to-words

Basic Conversion

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

const tw = new ToWords({ localeCode: 'ee-EE' });

tw.convert(100); // "Sada"
tw.convert(1000); // "Tuhat"
tw.convert(1000000);

Currency - Euro / Sent

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);

Tree-shakeable (single-locale) import

js
import { toWords, toCurrency, toOrdinal } from 'to-words/ee-EE';

toWords(1000);
toCurrency(999.99);

Locale Codes

Locale codeCountryCurrencyNotes
ee-EEEstoniaEuro / SentStandard Estonian number wording

FAQ

Q: Which locale code should I use for Estonian number-to-words output? Use ee-EE.

Q: Does to-words support Estonian ordinal words? Yes. ee-EE includes ordinal mappings so toOrdinal() works without any custom suffix logic.

Released under the MIT License.