CipherLock said:true or false?
if ( int(x+.5) > 4 )
// x should be rounded up
else
// x should be rounded down
integers do not contain decimal points so that won't work. You need to use a floating point variable.
This page contains mature content. By continuing, you confirm you are over 18 and agree to our TOS and User Agreement.