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 / Converting Text to Number
Power Apps
Answered

Converting Text to Number

(0) ShareShare
ReportReport
Posted on by 20

I created a form to allowed user to input a number value inside a text field.

 

Assuming I have a text box (Datacardvalue14.Text) to allow user to input a number value.

And

I have a text label (Label33) that will appear if a user insert a number larger than 10. 

 

 

Categories:
I have the same question (0)
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    For Label33, set the Visible property to
    If(Value(Datacardvalue14.Text)>10, true, false)

    Let me know if this helps.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    https://thepoweraddict.com

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @insights360 ,

    Do you want to justify whether the data filled in the textinput is larger than 10?

    I've made a similar test for your reference:

    I insert a textinput (to enter data) and a label (to justify the data in the textinput).

    If a user insert a number larger than 10 in the textinput, the label will display. Or else, it will disappear.

    Set the label's Visible:

    If(Value(TextInput1.Text)>10,true,false)

    Then the label's appearance will be decided by the textinput.

    2178.PNG

     On your side, you should set Label33's Visible:

    If(Value(Datacardvalue14.Text)>10,true,false)

     

    To sum up, if you want to convert text data to number data, you just need to use this kind of formula:

    Value(text data)

     

     

     

    Best regards,

  • kinghnvn Profile Picture
    on at

    @v-yutliu-msft 

     

    How can write code with time in range as below?

     

    25>number>10

     

    Thanks.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard