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

decimal place

Hope you can help me i got a sharepoint list with different (automatic calculated values) for example like in the picture Score Department or IT. No i got a form which only shows them but it must be like "1.0" not "1.00000000000000" in the sharepoint list its normal written like "1.0" please help me how can i delete these decimal places in my powerapp? If I use:

Round(Value(Parent.Default),0)

 

 It only deletes the point and then its "3125000000" and not anymore "3,125000000" I dont get it.

Unbenannt.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @benniwoessner,

 

I agree with @Drrickryp's thought almost. I have made a test on my side, please take a try with the following workaround:

 

Set the Text property of the Label control to following formula:

Text(Value(Parent.Default),"[$-en-US]#.0")

 

More details about Text function in PowerApps, please check the following article:

Text function

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
timl
Super User III
Super User III

Hi @benniwoessner

 

For display purposes, you can format numbers using syntax like this:

 

Text(Value(Parent.Default), "#.##")

The formula above would format the number to 2 decimal places.

Timi is correct but that syntax will not force two decimal places.  In other words, 2.20 would look like 2.2.  If you want to force two digits use 

Text(Value(Parent.Default), "#.00")

 

v-xida-msft
Community Support
Community Support

Hi @benniwoessner,

 

I agree with @Drrickryp's thought almost. I have made a test on my side, please take a try with the following workaround:

 

Set the Text property of the Label control to following formula:

Text(Value(Parent.Default),"[$-en-US]#.0")

 

More details about Text function in PowerApps, please check the following article:

Text function

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thank you very much! This solution helped me solve this problem!

Thanks, this worked for me

Helpful resources

Announcements
PA 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 Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (58,241)