Skip to content

Eth.Units.fromWei does not work with negative numbers #68

@cmditch

Description

@cmditch
> Maybe.map (EU.fromWei EU.Ether) (BigInt.fromString "20000000000000000000000")
Just "20000" : Maybe.Maybe String
> Maybe.map (EU.fromWei EU.Ether) (BigInt.fromString "-20000000000000000000000")
Just "000-20000" : Maybe.Maybe String
> 

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