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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Format TextInput as nu...
Power Apps
Unanswered

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

(0) ShareShare
ReportReport
Posted on by

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard