Skip to content

Force rounding of floats #1

@PhantomWatson

Description

@PhantomWatson

Values are currently stored with a limited number of digits allowed after the decimal place*, so values with higher precision are rounded when they're saved to the database. Running the same import again prompts an overwrite of the records that have been added, since the rounded values (e.g. 91.489362) don't always match the provided values (e.g. 91.4893617). This doesn't cause any problems, but could be confusing to an operator of the data import process.

  • This appears to be six, but the table structure says decimal(19,9), so it should theoretically be nine.

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