Skip to content

Burmese Number to Words in JavaScript (my-MM) ​

Use my-MM when your application needs Burmese (Myanmar) number words for invoicing, checkout flows, or documents that print totals in full words.

Locale codes: my-MM Β· Numbering system: Short scale Β· Currency: ကျပ် (Kyat) / ပြား (Pya) Β· Script: Burmese (Myanmar)

Install ​

bash
npm install to-words

Basic Conversion ​

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

const tw = new ToWords({ localeCode: 'my-MM' });

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

Currency - Kyat / Pya ​

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/my-MM';

toWords(1000);
toCurrency(999.99);

Locale Codes ​

Locale codeCountryCurrencyNotes
my-MMMyanmarကျပ် / ပြားBurmese script

FAQ ​

Q: Which locale code should I use for Burmese/Myanmar number-to-words output? Use my-MM.

Q: Does to-words output Burmese in the Myanmar script? Yes. my-MM produces output in Burmese (Myanmar) script.

Released under the MIT License.