Skip to content

Fix approximation errors in floating point. #38

@prataprc

Description

@prataprc

Floating point computations lead to approximations, leading to round off errors and even functional errors. Example in dblentry/transactions.go:340

if unbc.amount != 0.0 {
    unbcs = append(unbcs, unbc)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions