Can we subtract value like $123.09-$123.16 direct or I need to remove $ then subtract…?
U can do one thing based on strvar1.ToString.Replace(“$”,“”)
and then do the substraction
@AshwinS2 thanks for reply.Can I directly subtract like this in assign variable
when I try this I am getting output zero.
or I need to create variable for each row like val=row.Item(4).ToString.Replace(“$”,“”)
then do calculation or can I do direct
Even if you try both the ways you will get the same output
I have value but after calculation o/p show zero value
Can you try converting these values to double before substracting and check the value?