Comments (3)
Hi @zarza, I allready created the same issue, #72 , and made a pull request to solve this. Meanwhile, you can override de spanish configuration to add "useBaseExceptionWhenNoTrailingNumbers": true at units configuration, like this:
"units" : [
{
"singular": "ciento",
"useBaseInstead": true,
"useBaseException": [1]
"useBaseException": [1],
"useBaseExceptionWhenNoTrailingNumbers": true
},
from js-written-number.
Hi @zarza & @pexposito , we are working on a new project https://github.com/forzagreen/n2words . It's already supporting 20 languages and still growing.
@zarza do you know where I can find the source code of the PHP NumberFormat ?
from js-written-number.
Fixed in v0.11.1
from js-written-number.
Related Issues (20)
- 14100 in portuguese HOT 1
- Add a way not to include all locales HOT 2
- Adding Persian HOT 1
- Do not round decimal number HOT 3
- Negative numbers are formatted incorrectly HOT 1
- bower is not updated HOT 2
- Cents HOT 3
- Add configurations for ordinal numbers HOT 1
- Error with numbers above Number.MAX_SAFE_INTEGER
- Add support to russian HOT 5
- Update the package in npm repository to 0.10.0 HOT 1
- does somebody have a file for german (de.json)?
- Last version on NPM is 0.9.1 HOT 3
- Incorrect written number for hundred numbers without trailing numbers in Spanish HOT 2
- Don't support decimals?(English) HOT 2
- Mistake on russian l18n
- How to set `allSeparator` to empty? HOT 2
- Error with plural before "mille" (thousand) in French HOT 1
- Nuxt3 : How to use written-number?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-written-number.