Hi @Belasor ,
Please refer to screenshot below to create the flow:

if(and(greater(last(split(string(variables('test')),'.')),'0'),contains(string(variables('test')),'.')),add(variables('test'),1),variables('test'))
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.