Skip to content

Handling Floats #1576

@norberttech

Description

@norberttech

Currently flow math functions are operating on float's directly which as we all know in php can be a bit tricky.

For example 0.3 - 0.2 is not the same as 0.1.

However flow is partially covering that since it operates on entries and FloatEntry comes with a precision.

There are however few scenarios where this wont be enough:

  • merging float_schema definitions with different precisions
  • math operations on float entries with precision higher than 6
  • using math scalar functions on entries with precision higher than 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions