Skip to content
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

Engineering notation as decimal point (R notation) #17

Open
diegoherranz opened this issue Sep 27, 2019 · 0 comments
Open

Engineering notation as decimal point (R notation) #17

diegoherranz opened this issue Sep 27, 2019 · 0 comments

Comments

@diegoherranz
Copy link

Thanks for this tool. It does basically what we need.

In the Electronics world, it is very common to use the "R notation" where the decimal separator gets replaced by the prefix. You can read more about it here: https://en.wikipedia.org/wiki/RKM_code

This is the behaviour we would desire:

>>> EngNumber('2k2')
2.20k
>>> EngUnit('4u7F')
4.70uF
>>> EngUnit('2R2')
2.20R

Would it be possible to add this capability?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant