Skip to content

Greek Number to Words in JavaScript (el-GR)

Use el-GR when your application needs Greek number words for invoicing, checkout flows, or legal documents that print totals in full words.

Locale codes: el-GR · Numbering system: Short scale · Currency: Ευρώ (Euro) / Λεπτό (Lepto) · Script: Greek

Install

bash
npm install to-words

Basic Conversion

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

const tw = new ToWords({ localeCode: 'el-GR' });

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

Currency - Euro / Lepto

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
el-GRGreeceΕυρώ / ΛεπτόGreek script

FAQ

Q: Which locale code should I use for Greek number-to-words output? Use el-GR.

Q: Does to-words output Greek in the Greek alphabet? Yes. el-GR produces output in the Greek script.

Released under the MIT License.