cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
phh
Helper IV
Helper IV

change the number of decimals for a number

Hi all,
I would like to change the number of decimals so that there are no decimals.
I do not know how to do it. I have see somone use "text" but I cannot choose "text"
Maybe it's below default?

I hope you can help me!

See the Picture   

Mvh
- Peter

1 ACCEPTED SOLUTION

Accepted Solutions

The only other thing I can think of - is 'Ha mangler' a SharePoint calculated field? There's a known problem with calculated fields not formatting correctly. If that's the case, you could also try this:

Round(
     Value(ThisItem.'Ha mangler'),
     2
)

View solution in original post

8 REPLIES 8
timl
Super User
Super User

Hi Peter,

If you try this, does it make a difference?

Text(ThisItem.'Ha mangler', "#.00")

 

Hi @timl,

Nothing is happening 😞

See the picture 

 
- Peter

Hi Peter,

If you try this (with a call to Value), does that make a difference?

Text(Value(ThisItem.'Ha mangler'), "#.00")

 

Hi @timl,

No 😞

see the picture

- Peter

The only other thing I can think of - is 'Ha mangler' a SharePoint calculated field? There's a known problem with calculated fields not formatting correctly. If that's the case, you could also try this:

Round(
     Value(ThisItem.'Ha mangler'),
     2
)

Hi @timl,

It is a calculated field? 

It still does not work 😞

See the picture.

- Peter 

Hiii @timl 

sorry it work 😄

thank you!!!

-Peter

Glad it all works now!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,768)