Skip to main content

Notifications

Community site session details

Community site session details

Session Id : +bKfG7FMguFWyMHsMT1/HF
Power Apps - Building Power Apps
Answered

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

Like (0) ShareShare
ReportReport
Posted on 15 Dec 2022 02:27:10 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?

  • Community Power Platform Member Profile Picture
    on 15 Dec 2022 at 02:53:40
    Re: Format TextInput as number for currency so user input has correct keyboard selected on mobile device

    <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

  • Verified answer
    Ramole Profile Picture
    Super User 2024 Season 1 on 15 Dec 2022 at 02:42:01
    Re: Format TextInput as number for currency so user input has correct keyboard selected on mobile device

    Hi @KarlInOz1 
    Try this 

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

    and TextFormat.Number

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
MS.Ragavendar Profile Picture

MS.Ragavendar 32

#2
Rajkumar_M Profile Picture

Rajkumar_M 16 Super User 2025 Season 1

#2
mmbr1606 Profile Picture

mmbr1606 16 Super User 2025 Season 1

Overall leaderboard
Loading started