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

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.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

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.

Users online (38,377)