Skip to content

Engineering notation as decimal point (R notation)Β #17

@diegoherranz

Description

@diegoherranz

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions