-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support million, thousand etc. #86
Comments
Thank you for the feedback! I've never found myself needing this, but it has been requested multiple times now. What kind of words would you add? Only powers of ten? |
Yes, what comes to mind are common quantities: ten, hundred, thousand, million, billion. For me it comes up when doing calculations about e.g. money, where you might ask "how much is $1 million/year per month?". It's easier to write "1 million / 12" than to count number of zeros when typing "1000000". |
It would also be nice to have acronyms like "1m / 12". Could it also be possible to define your own? Maybe in some sort of config? EDIT: "m" is taken by milli, maybe something like milli |
What about the financial abbrieviations like |
Why not use scientific notation which is already built-in? For example, a million is
|
Good point, that works good enough.
On Mon, Jun 26, 2017 at 12:58 PM Suraj N. Kurapati ***@***.***> wrote:
Why not use scientific notation
<https://www.nyu.edu/pages/mathmol/textbook/scinot.html> which is already
built-in? For example, a million is 1E6 and a billion is 1E9.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#86 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMXw_cU5JNPCmYjPvT7D0L8S0aZeuN_4ks5sH-MpgaJpZM4OEaTQ>
.
--
Thanks,
— Perry
|
A reason would be: Not everyone knows scientific notation. You could also write |
You probably at least know the basics of scientific notation if you’re
using this calculator. Also, what would the `N` be?
On Mon, Jun 26, 2017 at 4:41 PM Lukas Eipert ***@***.***> wrote:
A reason would be: Not everyone knows scientific notation. You could also
write 1 MN / N :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#86 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMXw_bEQtWW40E3sP3Qjli1OVk9en4R_ks5sIBd4gaJpZM4OEaTQ>
.
--
Thanks,
— Perry
|
simply: 1 MegaNewton divided by Newton :) |
Ah right.
On Mon, Jun 26, 2017 at 5:29 PM Lukas Eipert ***@***.***> wrote:
simply: 1 MegaNewton divided by Newton :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#86 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMXw_XKFQzynUiW4jZweOn_2c-mHwrnZks5sICK3gaJpZM4OEaTQ>
.
--
Thanks,
— Perry
|
This is now supported. Would be great if someone could verify that this works as intended. Examples:
|
It looks like it works how I described. Don't forget to push to NPM! 😄 |
Done: v4.9.0. |
Currently "2 million" or "10 thousand" or "1 million / 10 thousand" are not recognized.
Those should be equivalent to "2 * 1 000 000", "10 * 1000" etc. i.e. unit-less multipliers.
The text was updated successfully, but these errors were encountered: