Skip to content

Decimal.compare is deprecated #50

@happysalada

Description

@happysalada
warning: Decimal.compare/2 is deprecated. Use Decimal.cmp/2 instead. This function will be re-introduced in Decimal v2.0 with new return value
lib/number/decimal.ex:11: Number.Decimal.compare/2

You can just replace it with Decimal.cmp/2

Let me know if anything doesn't make sense

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions