web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / 2 decimals with ThisItem
Power Apps
Answered

2 decimals with ThisItem

(0) ShareShare
ReportReport
Posted on by 15

Hello,

I'm new with PoxerApps and i wonder how to show the result of this fonction

ThisItem.PA_UNIT & " €"

only 2 decimals

 

Thanks for you help

 

Loadlucas

Categories:
  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    You can use the Text function to convert a number to a text with an appropriate number of decimals, like in the example below:

    Text(ThisItem.PA_UNIT; "0,00") & " €"

    Or if the decimal separator for your language is '.', then you'd use this expression:

    Text(ThisItem.PA_UNIT, "0.00") & " €"

     

  • Loadlucas Profile Picture
    15 on at

    Hi,

     

    Thank you for your response.

     

    The fonction have no error but nothing happend.

     

    It show always decimals ... Any idea ?

    Capture.PNG

    Thank you

     

  • Verified answer
    CarlosFigueira Profile Picture
    Microsoft Employee on at

    I see that the value is being shown with a '.' as the decimal separator. since your language seems to be French, numbers would typically be shown with the ',' separator instead. Is the type of PA_UNIT string (text)? If so, then you may need to first convert it into a number (you can use the Value function for that), then use the Text function to write it with the desired number of decimal places. The expression would be something along the lines of

    Text(Value(ThisItem.PA_UNIT; "en-US"); "[$-fr-FR]0,00") & " €"
  • Verified answer
    Loadlucas Profile Picture
    15 on at

    Thanks !

     

    Exactly what i wanted

     

    Thank you very much !

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard