Forum Discussion
BerkayM
Jan 29, 2026Copper Contributor
Logic Apps Data Mapper Integer Formatting Issue
Hello team, I am working on a data map that is giving me a hard time in the logic app. For my transformations, I do json-to-json transformation using the new data mapper. I have managed to handle al...
Kidd_Ip
Jan 31, 2026MVP
This behavior is expected. Within Logic Apps, the Data Mapper interprets numeric values as floating‑point numbers during JSON transformations. Consequently, an integer such as 12345 is serialized as 12345.0. To ensure the value is preserved as an integer, you must explicitly apply formatting or type conversion using the Data Mapper’s utility functions (for example, format-number() or toInteger()), thereby guaranteeing the output is handled as an integer rather than a floating‑point value.
https://learn.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-schema