public static double deadband(double deadband,double value){
  return (Math.abs(value) > deadband) ? value : 0;
}

public static double deadband ( double deadband , double value ) { return ( Math . abs ( value ) > deadband ) ? value : 0 ; }
gives a " deadzone " where any value less than this would return zero .
