Benjamin Van Ryseghem

Results 133 comments of Benjamin Van Ryseghem

no, but it shouldn't be too hard to add. I would go for an option to `format` named `token` which when is true, output as tokens instead of string. ```...

in moment, you have to call `toString` or `toObject`. in numbro, `format` returns a string, and it's not possible in JS to attach a function to a string. Try ```js...

letting this one open a bit more to see if someone has an opinion. Ok with you?

There is now the option `delimiters.thousandsSize` that is language specific. It should cover those cases :smile: If someone is willing to test and report :smile:

```js numbro.language(); //> "en-US" numbro.languageData().delimiters.thousandsSize = 2; numbro(100000).format(","); //> 10,00,00 ```

I see! I will see if I can add a function like this: ```js thousandsSize = 2; //> 10,00,00 thousandsSize = (input) => { let length = input.length; if (length...

this PR is quite out-dated, has conflicts, and I have no idea about how en-IN should work. So if someone with indian's cardinal knowledge is willing to take care of...