cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rbutgins
New Member

Trying to use Format Number

I am getting this error when trying to use format number (for a phone number):   Unable to process template language expressions for action 'Format_number' at line '0' and column '0': 'The template language function 'formatNumber' expects its first parameter to be an integer or a decimal number. The provided value is of type 'String'. Please see https://aka.ms/logicexpressions#FormatNumber for usage details.'.  

rbutgins_0-1648058070059.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Zpemberton
Helper I
Helper I

@rbutgins You should just be able to convert the string to an integer within the number field.  Instead of choosing Column3 as the input for Number, use int(items('Apply_to_each')['Column3']) as an expression to convert that item to an int.

View solution in original post

2 REPLIES 2
Zpemberton
Helper I
Helper I

@rbutgins You should just be able to convert the string to an integer within the number field.  Instead of choosing Column3 as the input for Number, use int(items('Apply_to_each')['Column3']) as an expression to convert that item to an int.

rbutgins
New Member

That did the trick!  Thank you!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,192)