azureazure-logic-appsdotliquid

Issue with the Liquid Maps in Azure Logic App


I am trying to convert a JSON from one schema to another and I am having issue in transforming the decimal data types. Whenever the decimals are transformed, it is getting rounded off up to 5 decimal places. Below mentioned is the input:

{
  "inputvalue": 44.84839234
}

The output is coming as:

{
  "outputvalue": 44.84839
}

The Liquid map is as below:

{   
    "outputvalue": {{content.inputvalue}}
}

Why is this rounding off happening?


Solution

  • As per Microsoft, this is a bug and will be fixed soon. See the post below:

    https://github.com/MicrosoftDocs/azure-docs/issues/50905#issuecomment-606404515