Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Report: EU Math #177

Closed
saucepleez opened this issue Dec 30, 2019 · 1 comment
Closed

User Report: EU Math #177

saucepleez opened this issue Dec 30, 2019 · 1 comment

Comments

@saucepleez
Copy link
Owner

@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)

@saucepleez
Copy link
Owner Author

saucepleez commented Jan 9, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant