Finnish Number to Words in JavaScript (fi-FI) โ
Use fi-FI when your application needs Finnish number words for invoicing, checkout flows, or legal documents that print totals in full words.
Locale codes:
fi-FIยท Numbering system: Short scale ยท Currency: Euro / Sentti ยท Script: Latin
Install โ
bash
npm install to-wordsBasic Conversion โ
js
import { ToWords } from 'to-words';
const tw = new ToWords({ localeCode: 'fi-FI' });
tw.convert(100);
tw.convert(1000);
tw.convert(1000000);Currency - Euro / Sentti โ
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 code | Country | Currency | Notes |
|---|---|---|---|
fi-FI | Finland | Euro / Sentti | Standard Finnish number wording |
Related โ
FAQ โ
Q: Which locale code should I use for Finnish number-to-words output? Use fi-FI.
Q: Does to-words support Finnish ordinal words? Yes. fi-FI includes ordinal mappings so toOrdinal() works without any custom suffix logic.