Skip to content

Add support for stdlib decimal.Decimal #938

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions