This is so basic, it's almost embarassing.
My problem code is this:
decimal result = 0;
result = (100/10);
In this case result is 10, of course.
But if I try this:
result = (100/1000);
result should be .1, but it rounds to 0, as if the decimal data type cannot support decimals.
Should I be using a diferent data type for my variable?
Thanks!