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

Format decimal numbers

I am trying to format the data of a calculated field within the flow to send in an email to show 2 decimal places. has anyone acheived this? 

 

I have tried both Text and Round and several iterations of these functions and they come back as invalid templates. 

 

Can anyone shine any light on this? 

 

Capture.JPG

 

the value from the column is 1.50000000000 i only want to see 1.5

20 REPLIES 20
Frequent Visitor

I actually tested out the "text" function in a calculated column formula then displayed the values in an HTML email and it worked fine. Here's the calculated column formula I used. Added the "text" function before the "Datedif".

 

=IF(OR(ISBLANK([Requested Date]),ISBLANK(NOW())),"",IF(OR(Status="Filled",Status="Cancelled"),"",TEXT(DATEDIF([Requested Date],NOW(),"D"),"0")))

 

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!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

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 (54,736)