Hi Guys,
i have a variable that is storing numeric value, how can i check that the variable is storing the value?
Hi Guys,
i have a variable that is storing numeric value, how can i check that the variable is storing the value?
Variable.IsNumeric
Check This in the IF condition - If True - Means the varaible is storing a Numeric Value.
Edit :
Use like This :
–
Mukesh
Debug workflow and in local Window you can see stored data for the particular variable
Hi,
Can you try the following expression in If condition?
IsNumeric(yourStringVar)
Regards,
i have followed what you have said but i am getting an error
@mukeshkala the variable is string however when i change it to integer i get even more errors
What is the Error ? Can you hover over the blue icon and see the error ?
Try IsNumeric(WRNumber.ToString)
@nick.v - pls try strVariable.IsNumeric
topman thank you @GBK
@Sharmistha_Kundu Try the IsNumeric at the end of the expression :
Currently : IsNumeric(yourExpression)
Change it to : (yourExpression).IsNumeric
Check if it works.
So simple, so helpful! Thanks
@supermanPunch I used second one eventhough I am getting following error
@sujitha Can you check by using:
in_TransactionItem.Item("CashIn").ToString.IsNumeric
or
IsNumeric(in_TransactionItem.Item("CashIn").ToString)