Workflow - Assigning decimal values always round to two decimals #9894
Labels
Area: Workflow
Issues & PRs related to all things regarding workflow
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Status:Fix Proposed
A issue that has a PR related to it that provides a possible resolution
Type: Bug
Bugs within the core SuiteCRM codebase
In a Workflow action that modifies a record adding the decimal value of a field to another decimal field, the result is always rounded to two decimals
Issue
Some of the decimals are lost during the execution of the action.
Expected Behavior
All the decimals should be transfered.
Actual Behavior
The system isn't taking into account the decimal precision defined in the vardef.
Possible Fix
Use the vardef precision in the workflow action.
Steps to Reproduce
Context
This is losing information, or valuable data.
Your Environment
The text was updated successfully, but these errors were encountered: