I'm new to c# so this is probably a stupid question. If I write
double d = 2175 / 405;
d is always 5, ie there is never the decimal part. If I do the same in vb.net then I get the answer I expect. Appreciate any assistance.
I'm new to c# so this is probably a stupid question. If I write
double d = 2175 / 405;
d is always 5, ie there is never the decimal part. If I do the same in vb.net then I get the answer I expect. Appreciate any assistance.