Hi
I have a flow that uses dynamic content in an array, the data comes from a SP list and I need to format the value as the number that comes back is 9.00000000. So I would like to format it so that it just displays the number before the decimal. The dynamic content is within an apply to each I have used the expression:
Solved! Go to Solution.
Hi @Kmayes,
You could use the int function instead of the formatNumber function:
int(items('Apply_to_each')?['Column_Name'])
Hi @Kmayes,
You could use the int function instead of the formatNumber function:
int(items('Apply_to_each')?['Column_Name'])
The following expression worked for me. In this example, I am adding three variables, then formatting the number and coverting into float value to be saved in a float type Variable.
anyone have ever found the formatnumber (the FX not the flow component) syntax?
Hi @DPozzi,
There is documentation about the formatnumber function:
https://aka.ms/logicexpressions#formatnumber
And there is also documentation about the formatters itself:
User | Count |
---|---|
95 | |
39 | |
25 | |
22 | |
16 |
User | Count |
---|---|
129 | |
51 | |
48 | |
35 | |
24 |