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 / Text function to forma...
Power Apps
Answered

Text function to format numbers, working in browser but not on phones

(0) ShareShare
ReportReport
Posted on by 66

Hi,

 

I'm using this function to allow only one decimal, and it's working fine on PC in browser (Chrome and Edge).

But on phones and tablet, inside the PowerApps app it does not work.

 

The function:

Text(Value(ThisItem.Hours),"#.0")

 

On PC:

JCDJTP_0-1641817016167.png

 

On phone:

JCDJTP_3-1641817308758.png

 

 

I have put in a label, to be sure it's running the same version...

Categories:
  • v-JessicaG-msft Profile Picture
    Microsoft Employee on at

    Hi @JCD-JTP ,

     

    I tested it with SharePoint list and excel table as the data source of Gallery, and the result can display one decimal correctly on the phones. Could you tell what your data source looks like? ( Example: column data format )

     

    Best Regards,

    Jessica Gu

  • JCD-JTP Profile Picture
    66 on at

    Hi @v-JessicaG-msft 

     

    The dataformat is number but calculated.

    JCDJTP_0-1641982352685.png

     

  • Verified answer
    WarrenBelz Profile Picture
    156,748 Most Valuable Professional on at

    Hi @JCD-JTP ,

    SharePoint calculated columns do not "play well" with Power Apps - do the same calculation in Power Apps and it should work fine.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • JCD-JTP Profile Picture
    66 on at

    Hi @WarrenBelz,

    It's just funny that it works flawless on the computer, but not on mobile devices.

    But I guess I will have to try putting the logic in the app...

  • WarrenBelz Profile Picture
    156,748 Most Valuable Professional on at

    Hi @JCD-JTP ,

    Yes, they are fairly inconsistent, so I simply do not bother with them when the same thing can be done in Power Apps.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard