Currently we have multiple places where we need to parse numbers from inputs and check if these are correct, whereas the logic repeats in each component. We need this logic to be extracted in a separate service and consistently used where needed.
- We have a module which parses a number from a string and checks if it is correct.
- The module is used in
- Target value modal
- Numeric variable filter
- Duration filter