You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have also tested to disable the replace ',' by '.', because I am in European Union and here we use commas to separate euros from cents. The problem maintains. Taskt cannot do the math. The log says:
2019-12-25 14:50:25.892 +00:00 [INF] Running Line 15: Format Data [Format '{vPrice}' and Apply Result to Variable 'vOutputPrice']
2019-12-25 14:50:26.184 +00:00 [INF] Result Code: Error
2019-12-25 14:50:26.184 +00:00 [INF] Error: System.IO.InvalidDataException: Unable to convert '(234,23 / 3)' to type 'Number'
em taskt.Core.Automation.Engine.AutomationEngineInstance.ExecuteCommand(ScriptAction command)
em taskt.Core.Automation.Engine.AutomationEngineInstance.ExecuteScript(String data, Boolean dataIsFile)
The text was updated successfully, but these errors were encountered:
We have added support for math calculations and specifying the format of the numbers. The compute command currently only supports invariant culture so numbers at time of math execution can only be in invariant format rather than culture specific format.
For the Math Calculation command, we have enabled the users to define custom separators for performing math operations. We could enable a selection for "European" or "US" if needed.
@jaribeiro73
I have also tested to disable the replace ',' by '.', because I am in European Union and here we use commas to separate euros from cents. The problem maintains. Taskt cannot do the math. The log says:
2019-12-25 14:50:25.892 +00:00 [INF] Running Line 15: Format Data [Format '{vPrice}' and Apply Result to Variable 'vOutputPrice']
2019-12-25 14:50:26.184 +00:00 [INF] Result Code: Error
2019-12-25 14:50:26.184 +00:00 [INF] Error: System.IO.InvalidDataException: Unable to convert '(234,23 / 3)' to type 'Number'
em taskt.Core.Automation.Engine.AutomationEngineInstance.ExecuteCommand(ScriptAction command)
em taskt.Core.Automation.Engine.AutomationEngineInstance.ExecuteScript(String data, Boolean dataIsFile)
The text was updated successfully, but these errors were encountered: