src/main/java/ucar/geoapi/NetcdfCRS.java
private static double nice(double value) {
        final double tf = value * 360;
        final double ti = Math.rint(tf);
        if (Math.abs(tf - ti) <= EPS) {
            value = ti / 360;
        }
        return value;
    }
/**
     * Workaround rounding errors found in netCDF files.
     */
Workaround rounding errors found in netCDF files.
Workaround rounding errors found in netCDF files .
private static double nice(double value) {
        final double tf = value * 360;
        final double ti = Math.rint(tf);
        if (Math.abs(tf - ti) <= EPS) {
            value = ti / 360;
        }
        return value;
    }
private static double nice ( double value ) { final double tf = value * 360 ; final double ti = Math . rint ( tf ) ; if ( Math . abs ( tf - ti ) <= EPS ) { value = ti / 360 ; } return value ; }
Workaround rounding errors found in netCDF files.
Workaround rounding errors found in netCDF files .