grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java
double applyScaleFactor(int scale, int value) {
    return ((scale == 0) || (scale == 255) || (value == 0)) ? value : value * Math.pow(10, -scale);
  }
double applyScaleFactor(int scale, int value) {
    return ((scale == 0) || (scale == 255) || (value == 0)) ? value : value * Math.pow(10, -scale);
  }
double applyScaleFactor ( int scale , int value ) { return ( ( scale == 0 ) || ( scale == 255 ) || ( value == 0 ) ) ? value : value * Math . pow ( 10 , - scale ) ; }
Apply scale factor to value, return a double result.

@param scale signed scale factor
@param value apply to this value
@return   value ^ -scale
Apply scale factor to value return a double result .