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
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

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