I know its silly thing but seriously am not ablt to perform division in asp.net!!!!how to calculate discount % given original value (val1) and discountvalue (val2)
I wrote the code like :
int dp = 1;
dp = ((result / val1) * 100);
When i insert breakpoint, value at dp is shown dp in the 2nd step..
How do we perform division?Am i missing something? While i hover the mouse on / symbol its showing 0, while the result and val variable have the right values. Pl help me..immediately
@Sina