cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
whitlste
Regular Visitor

Mutliple decimal point Zeroes in email flow

Hi folks,

 

Please be easy on me I am a total newb.

 

I have read the various replies to my issue in different forums but I honestly haven't a clue. Does anybody have a really simply idiots guide to removing the extra decimal points that appear in an email flow? 

 

Of the 3300 SLE's planned,  3360 SLE's were made at a 101.818181818182% ATS.

This product run was completed at 60.0000000000000 

 

I grab the information from our SharePoint site and I have to say I'm baffled how some fields have no decimals and others have 10!!!

Anyway I have tried to make head or tail of the information that answers this on here and other sites but I cannot replicate it successfully. 

 

Please help me!

 

Regards

 

Steve

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User III
Super User III

Hi @whitlste 

 

Use the float expression to convert to decimal.

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

6 REPLIES 6
abm
Super User III
Super User III

Hi @whitlste 

 

Are you generating the email using Power Automate? Could you please post  a screenshot of your flow?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
whitlste
Regular Visitor

Hi,

 

Screenshot 2020-11-13 161134.pngScreenshot 2020-11-13 161238.png

 

outputs this message

 

Screenshot 2020-11-13 161421.png

 

Thanks for your help

 

 

abm
Super User III
Super User III

Hi @whitlste 

 

Thanks for the screenshot. You can use the format number action step to format the numbers.

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
whitlste
Regular Visitor

Hi Alm,

 

Thanks for getting back to me. 

 

whitlste_0-1605796855820.png

 

I am sorry for being stupid 🙂 

 

I get this error.

Unable to process template language expressions for action 'Format_number' at line '1' and column '14174': '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.'.

 

From other threads I understand that you may have to change the data from a string to integer. I really am I newbie at these sort of things. 

 

The data comes from a sharepoint list and the 'number values' come from a direct entry with a number, the ones with lots of zeros are calculated columns but are calculating the numbers and giving out number formatted results.... Confused 😕

 

Regards

 

Steve 

abm
Super User III
Super User III

Hi @whitlste 

 

Use the float expression to convert to decimal.

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

whitlste
Regular Visitor

Thanks so much for your patience 🙂 

 

 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,106)