if($numInput % $divider == 0){ #### my $half = int( $numInput / 2);