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