Skip to content

Add support for stdlib decimal.Decimal #938

Open
@erichiggins

Description

@erichiggins

I'd like to request adding the decimal standard library to micropython-lib.
https://docs.python.org/3/library/decimal.html

It's particularly useful for parsing and maintaining precision when reading values from peripherals (in my case, analytical balances) and displaying them on a screen without worrying about the issues associated with floating point arithmetic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @erichiggins

        Issue actions

          Add support for stdlib decimal.Decimal · Issue #938 · micropython/micropython-lib