hi chaps,

can anyone tell me how to work with decimal numbers

basicly i have the following,

int value = tb.Value;

decimal percent = (decimal)(value / 18 * 100);

using this keeps return 0 or if the value is 18 then it will return 100, but, say the value is 2 it will return 0 when it should be 11.11

thanks.

Philly