How to check integer value is in between range in uiapth

Hi,

I want to check one integer value is in between range,
like: a=5 and range is “2-10”.

any solution for these??

Hi @sams,
use if condition to check between the range

a >= 2 && a <= 10

Regards,
Arivu

1 Like

@sams,range

2 Likes

Thanks @arivu96,

i want to append value in array like:
arrayNew={“100”,“500”}
a= 2000

i want to append array value of “a” in “arrayNew” ={“100”,“500”,“2000”}

Is there any solution for this???

Hi @sams,

If u want to add dynamically use collection variable list

Refer this one
https://www.uipath.com/kb-articles/how-to-work-with-a-dynamic-array?hs_amp=true

Regards,
Arivu

I want to only append value in array.

is there any solution for this?

Hi @sams,

Array is fixed length so try to use collection variable (list).

Else if u know the array length

Arr(arraylength)='YourValue'

Regards,
Arivu

then how can I use list for same thing(append value)???

Refer this link
https://www.uipath.com/kb-articles/how-to-work-with-a-dynamic-array?hs_amp=true