M
mpfohl
I have a key that the user enters and then I want to manipulate. The
user enters a 4 digit number (X), and I run my equation on it (let's
say, X*2) and return back a 4 digit number. What the number is
doesn't really matter, as long as it is consistant each time the user
enters the same number, and as long as it is exactly 4 digits long.
So basically, I need a way to truncate integers. how do i say take 4
digits from (X*2) ?
Thanks
user enters a 4 digit number (X), and I run my equation on it (let's
say, X*2) and return back a 4 digit number. What the number is
doesn't really matter, as long as it is consistant each time the user
enters the same number, and as long as it is exactly 4 digits long.
So basically, I need a way to truncate integers. how do i say take 4
digits from (X*2) ?
Thanks