cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sajarac
Super User
Super User

DatacardValue format as Currency and decimal

Hello there I am having this issue:

 

I know that whern your are showing data you can use this formula to represent the cyrrencly symbol, ant is works fine :

 

Text('Assessed_x0020_$$',"[$-en-US]$,###,##.##")

 

But I cannot figure out on how to do it in a Tex input field "Datacarvalue"

 

Any idea?

 

Thanks in advance

 

Regards

4 REPLIES 4
v-micsh-msft
Community Support
Community Support

Hi @sajarac,

 

The formula only works for Label control and the Default property of the TextInput control.

The format of the Value inputted with the TextInput control only have two type:

Text or Number

Which you could note from the Format property of the TextInput control.

Currently there is no way to format the value inputted to the one defined in the Text() function.

 

Besides, if you would like to format the TextInput.text in a Label control, then the formula should be:

Text(Value(TextInput1.Text),"[$-en-US]$,###,##.##")

The function used here only works with number, so here we use Value() function to convert the TextInput.text into number format.

4.PNG

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you very much for your reply, so correct me if I am wrong, there is no way to a input text field apply some kind of format like a currency format?

 

is there any change that you guys will implement a toolbar like the "Align" or "Font" to just select format?

 

Any other solution? I really want that my users when they are typing data get the right format, instead of guess if the numbers are correct? i,e 123456789 , $123,456.789

 

Many thanks

Is there anything new about this topic? I have the same problem, I would like to change the format when entering an amount. 10000 -> 10000.00

Hi,

 

I'm interested in seeing this as a built in feature and I found this thread as one of the top google searches.  I see that there are some requests for this feature. 

 

I thought I'd add the links so other folks who find this thread, and are interested in a built in mechnism for this, can go and kudo the feature request:

 

If interested, please go to these links and Kudo them.

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.

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 (3,439)