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

 

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (108,116)