Skip to content

golang float precision loss #40

@ggq89

Description

@ggq89

float precision loss in Tokens() function at https://github.com/fioprotocol/fio-go/blob/master/token.go#L11 .

Please use the third-party package github.com/shopspring/decimal to handle the addition, subtraction, multiplication, division and conversion of float data

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

    Issue actions