n2words icon indicating copy to clipboard operation
n2words copied to clipboard

Convert numerical numbers to written numbers, in 25+ languages.

Results 10 n2words issues
Sort by recently updated
recently updated
newest added

If absolute value of number is 0 or 1, the separator is "celá", if the absolute value is from 2 to 4 it is "celé" and any absolute value higher...

bug

Hello , Is there any way to customize the library to have support in some money cases like : $1.000.000 should be "un millon **de** pesos" but translates into "un...

enhancement

The file in charge of Turkish language [lib/i18n/TR.mjs](https://github.com/forzagreen/n2words/blob/v1.9.0/lib/i18n/TR.mjs) takes a lot of space compared to other languages: Its size is **15K** versus **~2K** for other languages. ```bash $ tree -sh...

enhancement

- Fixes https://github.com/forzagreen/n2words/issues/100 - Other improvements

First of all, Awesome work. 🔥 I checked a number of different libraries and that's the most accurate one so hats off. Problem When translating certain arabic numbers, there seems...

bug

My goal was to break `splitNum` into smaller (defined) functions that are easy to understand. However, the attempts I've committed have significant issues to resolve before we can merge them....

In Biblical Hebrew literature, feminine numbers are more common. As an example, take a look at the Sefirat Haomer counting, which uses these numbers. Pull Request #64 did this, but...

enhancement
help wanted
question

Browser compatibility with modules is excellent nowadays. This will serve as an exploration into converting this project to a single entry-point-dynamically-loading library https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import#browser_compatibility https://html.spec.whatwg.org/multipage/webappapis.html#resolve-a-module-specifier

https://github.com/forzagreen/n2words/blob/0e7bc54717f2b7a1c43c61ea53689a2eca22d748/lib/i18n/pl.js#L37 **Description of the issue:** The current version of the library incorrectly represents the number 90 as "dziewięćdzisiąt" instead of the correct "dziewięćdziesiąt" in Polish. It would be great if...

the package is great, but when it comes to large numbers, specifically above 9999, it stops reading the first numbers, so if the number is 19999, it ignores the one...

bug