cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Stijn007
Advocate III
Advocate III

no decimal after comma

Hello, 

 

Is there a way to view only the figures before the comma and left all figures out after the comma. 

The field should NOT be round up/down what now the problem is using a number field. 

for example 0,8564 should stay 0 and not 1 . 

 

 

Many thanx for tips. 

2 ACCEPTED SOLUTIONS

Accepted Solutions
eka24
Super User
Super User

Try:

Left(DataCardValue22.Text,Find(",",DataCardValue22.Text)-1)

Replace DataCardValue22 with your actual textbox

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

Pstork1
Dual Super User
Dual Super User

Try the following formula where TextInput1.Text is the number you want to convert in Text format.

Left(TextInput1.Text,Find(",",TextInput1.Text)-1)


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
eka24
Super User
Super User

Try:

Left(DataCardValue22.Text,Find(",",DataCardValue22.Text)-1)

Replace DataCardValue22 with your actual textbox

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Pstork1
Dual Super User
Dual Super User

Try the following formula where TextInput1.Text is the number you want to convert in Text format.

Left(TextInput1.Text,Find(",",TextInput1.Text)-1)


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Many thanx for your fast respons! 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,894)