BenjaminVanRyseghem / numbro

A JS library for number formatting
http://numbrojs.com
MIT License
1.09k stars 198 forks source link

exponentials #308

Open lauratrann opened 7 years ago

lauratrann commented 7 years ago

How does numbro.js format numbers into exponentials? Is it similar to how it is handled by numeral.js as '0.00e+0' ? Was looking at the documentation for numbro and couldn't seem to find it.

BenjaminVanRyseghem commented 7 years ago

I am not sure to understand the question. But I will try to answer anyway :smile:

In the current implementation, I am not that sure, most probably the way Numeral does it. In the 2.0 branch, I think there is no way to force an exponential form.

Is it a use case to you?

jrowen commented 6 years ago

I've seen a few requests for this functionality (https://github.com/jrowen/rhandsontable/issues/190). Any plans to implement?

aldomann commented 5 years ago

Any advancements on this?