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

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:
I have the same question (0)
  • v-JessicaG-msft Profile Picture
    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
    153,026 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
    153,026 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

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard