Skip to content

User Report: EU Math #177

Closed
Closed

Description

@saucepleez

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

Activity

  1. saucepleez commented on Jan 9, 2020

    @saucepleez
    OwnerAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions