Skip to content

Uzbek Number to Words in JavaScript (uz-UZ) โ€‹

Use uz-UZ when your application needs Uzbek number words for invoicing, checkout flows, or legal documents that print totals in full words.

Locale codes: uz-UZ ยท Numbering system: Short scale ยท Currency: So'm / Tiyin ยท Script: Latin

Install โ€‹

bash
npm install to-words

Basic Conversion โ€‹

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

const tw = new ToWords({ localeCode: 'uz-UZ' });

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

Currency - So'm / Tiyin โ€‹

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/uz-UZ';

toWords(1000);
toCurrency(999.99);

Locale Codes โ€‹

Locale codeCountryCurrencyNotes
uz-UZUzbekistanSo'm / TiyinStandard Uzbek number wording

FAQ โ€‹

Q: Which locale code should I use for Uzbek number-to-words output? Use uz-UZ.

Q: Does to-words support Uzbek ordinal words? Yes. uz-UZ includes ordinal mappings so toOrdinal() works without any custom suffix logic.

Released under the MIT License.