engineering_notation
engineering_notation copied to clipboard
Engineering notation as decimal point (R notation)
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!