Find Double

Hi All,
I want to check the output value variable is Double or not. please help me with a solution.
Thanks in Advance

@jagadish.singh
use
double.tryparse("string", doubleVariable)

Hi Lakshay,
Let me add some more details. I am extracting a cell value from a excel and storing it in a generic variable (Test). I want to check whether Test value is Double or not using If condition.

Create a variable of type double lets say dblTest

If(double.tryparse(test.tostring,dblTest))

This line of code will give you Boolean output

2 Likes

Thank You so much for your time. It worked.

1 Like

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