cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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 blog

Power Automate Video Tutorials

View solution in original post

6 REPLIES 6
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 blog

Power Automate Video Tutorials
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

 

 

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 blog

Power Automate Video Tutorials
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 

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 blog

Power Automate Video Tutorials

View solution in original post

Regular Visitor

Thanks so much for your patience 🙂 

 

 

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (59,573)