cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

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 II
Dual Super User II

@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 II
Dual Super User II

@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

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

@soylaunica 

 

🙂

You learn by making mistakes

Keep going and keep flowing !!!

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (4,202)