cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
roby9390
Helper II
Helper II

Set the decimals numbers after the comma

Hi all,

I'm going crazy because I can't solve the decimal problem on my numbers.

I want all numbers in my app to have the following format "##.###,00". How can I do?

My browser is configured in Italian.

I'll give you an example of how the numbers come out now:

Cattura.JPG

6 REPLIES 6
Rusk
Super User
Super User

Try adding a language tag, something like this:

 

Text(Value(YourData.Text),"##.###,00","it-IT")

 

 

roby9390
Helper II
Helper II

Hi @Rusk 

below the result of your suggestion:

roby9390_0-1672299084591.png

 

3,1,00 is displayed instead of 3,10

 

Hi @roby9390 ,

 

Oh I see, you want the "0" on the end.  Try 

Text(ThisItem.Rate; "#.00";"it-IT")

Correct but I also want the dot as thousands separator

Hi @roby9390 

 

Text(ThisItem.Rate,"[$-fr-FR]$#.###,00","fr-FR")

 

For some reason I couldn't get it to work with "it-IT"... try this though (should be the same functionality) 

@Ruskit seems to work but why does it give me the dot even when the number does not reach the thousand?

roby9390_0-1672391963456.png

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,115)