I have column in SharePoint list with type data Number.
I want convert from float to integer, because showing error message at my flow:
Please Check My Flow:
How to convert from type data Number to Float (base on to error message). Because I want create calculated Planned Due Date = addDays(utcNow() + estimated sailing in duration. Thanks
Hi @krfajar,
Does your Float number contain decimal places? If not, you could put the int() function into the second parameter of addDays() function:
addDays(utcNow(),int(variables('Float')),'yyyy-MM-dd')
If it contains, you should remove the decimal part, for example:
first(split(string(variables('Float')),'.'))
addDays(utcNow(),int(outputs('Compose_2')),'yyyy-MM-dd')
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ChristianAbata
Thanks for your response.
What do you mean like this for convert to integer?
Thanks
hi @krfajar please add int() and inside it your current expression like int('Here your current expression')
stampcoin
67
Michael E. Gernaey
66
Super User 2025 Season 1
rzaneti
41
Super User 2025 Season 1