cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
soylaunica
Level: Powered On

HELP ME! Integer or String, that is the question?!

Ok guys, I seriously have 0 clue what I'm doing wrong here. I have an email that I've parsed out with various fields. One of these fields is a Quote Amount. I have an additional condition that counts levels based on the quote amount that works fine when I don't have a decimal in it. Now if there is a decimal everything is broken for reasons beyond me. I figured it was automatically converting it to an integer because of the decimal, but when I condition without the int() function I get a string error and if I condition without it I get a string to integer error. HELP!

 

setup.PNGstring int error.PNGsetup.PNGstring int error.PNGstring int error2.PNGstring int error3.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: HELP ME! Integer or String, that is the question?!

@soylaunica 

 

use float to typecast instead of integer

Integers dont work with decimals

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

View solution in original post

3 REPLIES 3
Dual Super User
Dual Super User

Re: HELP ME! Integer or String, that is the question?!

@soylaunica 

 

use float to typecast instead of integer

Integers dont work with decimals

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

View solution in original post

soylaunica
Level: Powered On

Re: HELP ME! Integer or String, that is the question?!

ANDDDDDD this is the downside to self-learning, you miss some of the basics. Thank you!

Dual Super User
Dual Super User

Re: HELP ME! Integer or String, that is the question?!

@soylaunica 

 

🙂

You learn by making mistakes

Keep going and keep flowing !!!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,531)