cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

change format of a number

hi,

i have a SPList and i use new-display-edit forms to create and display my records..  My list has a column number (with use thousand separator on from Sharepoint column settings).  I submit a record with  the value 3.400,28  to that column and everything seems ok. but after that if i go to display mode the value will be :  3400.28 

this value is about money 3.400,28 € so i want this format. 

 

On sharepoint  i can see that the value is 3.400,28 but i want also the app show my value on the same format. 

thanks in advance.

2 REPLIES 2
RandyHayes
Super User
Super User

@Anonymous 

It is actually stored in SharePoint as 3400.28.  The reason it shows as you see it is based on your regional settings of the list.

For PowerApps, you can utilize the Text function for this in the Default property of your TextInput control, or the Text property of a Label.

   Text(yourNumber, "#,##0.00", "ca-ES")  

This is using the Spanish language tag.  You can replace with your own if supported or just use that one.

For your number 3400.28 -    Text(3400.28, "#,##0.00", "ca-ES")  will produce - 3.400,00

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
Anonymous
Not applicable

@RandyHayes  i tried this solution but nothing change..

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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