01-30-2009, 07:37 AM
I am getting a number that is constantly changing, lets say it's int g
what I want to do is divide g by half and out that amount.
example
int g=?
divided by 2
out the remainder of g
is this possible?
I did a search and found example but it was for a fixed amount!
thanks
what I want to do is divide g by half and out that amount.
example
int g=?
divided by 2
out the remainder of g
is this possible?
I did a search and found example but it was for a fixed amount!
thanks