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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (46,282)