The value getting from queue is 0.299875
The condition written
Convert.ToInt32(in_TransactionItem.SpecificContent(“Value”))>=90
the error it throws Input string was not in a correct format.
What can be done for fixing this?
Thanks in Advance
The value getting from queue is 0.299875
The condition written
Convert.ToInt32(in_TransactionItem.SpecificContent(“Value”))>=90
the error it throws Input string was not in a correct format.
What can be done for fixing this?
Thanks in Advance
Can you try below
Convert.ToInt32(Convert.ToDouble(in_TransactionItem.SpecificContent("Value")) * 100) >= 90
Regards,
Try this:
Convert.ToInt32(in_TransactionItem.SpecificContent(“Value”).ToString.Replace(",",""))>=90
Replace , with empty string.
This could be due to comma in amounts like 12,233 or 4,550
Thanks,
Ashok
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.