Skip to content

Floating Point Errors #1095

@S0ly

Description

@S0ly

What is your request about?

currently the panel is using floats for lots of things, this could become a very big problems
most of the banking system avoid to use floats

a refactor should be aiming to fix this issue

ethier by reworking everything (best but slow)

  • Database - Store as integers (cents)
  • Application logic - All calculations must use integers
  • UI - Display as floats but handle all input as integers

or by doing a quick fix (quick but bad)

  • bcmath on all application logic

Branch

main

Solution idea

No response

CtrlPanel Logs

No response

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    High PriorityCritical. Act quickly for resolution

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions