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 / Format TextInput as nu...
Power Apps
Answered

Format TextInput as number for currency so user input has correct keyboard selected on mobile device

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have created a purchase order app for mobile which works great except that when my users tap on the Amount field to input a price they are presented with the Text keyboard instead of the number keyboard. So they have to switch to their number keyboard to input the price. The TextInput has to be formatted as text so the price is displayed correctly. If I format the TextInput as Number then the decimal places are not displayed and it looks horrible, like this:

2022-12-15 13_21_57-Power Apps - Vivaldi.png

I have spent hours trawling through these forums but haven't come up with a solution. Does anyone know of one where I can have the amounts displayed with decimals and have the control formatted as a Number?

Categories:
I have the same question (0)
  • Verified answer
    Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @KarlInOz1 
    Try this 

    Text(Value(ThisItem.xxxx),"[$-en-US]$#,###.00")

    and TextFormat.Number

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    <sigh> @Ramole Thank you for your reply. Sometimes I just don't try the most obvious solutions 😮 That works. I did have the Text statement but had also changed the control format to Text. Thanks again.

    For anyone coming behind TextFormat.Number is the format the the control on the Properties tab:

    2022-12-15 13_51_07-.png

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard