INT nint2( FLOAT x) { if( x >= 0.0 ) { return (INT)((x)+(0.5)); } else { return (INT)((x)-(0.5)); } }