Error while converting to int

Hi All,

I am trying to convert double to int .But facing the below error. Kindly help.

Hi @tharani.natarajan
Try this
CInt(PagesizeRequired)

CInt(PageSizeRequired) also gives same error

hi @tharani.natarajan

image

image

It doesn’t show error in my environment @tharani.natarajan

Regards
Gokul

Both of them are giving me "invalid L-value expression error .

Hi @tharani.natarajan

Ensure that the PagesizeRequired variable contains only numbers. Try printing that before converting to int to check.

@tharani.natarajan

Verify that the variables you are working with are within the scope of the current workflow or sequence.

Hi @tharani.natarajan

Can you try to remove the variable name and then give the variable name again and check it.

@tharani.natarajan

Assign that expression to a variable instead of directly passing it. Then pass that int variable in argument.

1 Like

@tharani.natarajan

remove variable name and press ok than give the variable name

@tharani.natarajan
Delete the variable and try by giving again.

I tried that it didn’t work .I passed to a variable instead of directly passing it. Then pass that int variable in argument.

Created a new variable it didn’t work either …

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.