Skip to content

Change CheckEditable.amount from Float to Double #346

@mccormick-wooden

Description

@mccormick-wooden

Float too imprecise for this field, and when serialized the value can materially change:

jshell> 147480.18f
$1 ==> 147480.19

We should at least change the type to Double, though I would prefer to change this field to BigDecimal - let me know if that is workable (not sure why floating point types were originally chosen for this and understand there may be constraints I'm not aware of).

Fix attempted here: #345

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