Skip to content

Loss of decimal precision when invoice is saved in database #66

@PhantomKnight287

Description

@PhantomKnight287

The "Unit Price" loses precision when it is saved in db.

Steps to reproduce

  • Create a new invoice
  • Create an invoice item
  • Set any decimal number with 3 places as unit price(example: 0.141)
  • Save the invoice
  • Reload the page
  • Unit price is 0.14

Expected result

  • The unit price stays 0.141

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