Italian Number to Words in JavaScript (it-IT) โ
Use it-IT when your application needs Italian number words for finance, checkout flows, ERP systems, or legal documents that print totals in full words.
Locale codes:
it-ITยท Numbering system: European long scale ยท Currency: Euro / Centesimi ยท Script: Latin
Install โ
bash
npm install to-wordsBasic Conversion โ
js
import { ToWords } from 'to-words';
const tw = new ToWords({ localeCode: 'it-IT' });
tw.convert(10); // "Dieci"
tw.convert(100); // "Cento"
tw.convert(1000);
tw.convert(1000000);Italian uses the European long-scale sequence with words such as Miliardo and Bilione, which matters when your product handles very large values.
Currency - Euro / Centesimi โ
js
tw.convert(1234.56, { currency: true });
tw.convert('500.00', { currency: true, includeZeroFractional: true });Ordinal Numbers โ
js
tw.toOrdinal(1);
tw.toOrdinal(12);
tw.toOrdinal(1000000);Locale Codes โ
| Locale code | Country | Currency | Notes |
|---|---|---|---|
it-IT | Italy | Euro / Centesimi | Good default for Italian web apps, invoicing, and reporting |
Related โ
FAQ โ
Q: Which locale code should I use for Italian? Use it-IT.
Q: Does the Italian locale handle ordinal words too? Yes. toOrdinal() works with it-IT, so you can generate full ordinal wording without manual suffix rules.