function checkEmpty(iv, settings, signOnEmpty) {
        if (iv === '' || iv === settings.aNeg) {
            if (settings.wEmpty === 'always' || signOnEmpty) {
                return (settings.pNeg === 'l') ? iv + settings.aSign + settings.aSuffix : settings.aSign + iv + settings.aSuffix;
            }
            return iv;
        }
        return null;
    }
/**
     * private function to check for empty value
     */
private function to check for empty value
private function to check for empty value
function checkEmpty(iv, settings, signOnEmpty) {
        if (iv === '' || iv === settings.aNeg) {
            if (settings.wEmpty === 'always' || signOnEmpty) {
                return (settings.pNeg === 'l') ? iv + settings.aSign + settings.aSuffix : settings.aSign + iv + settings.aSuffix;
            }
            return iv;
        }
        return null;
    }
function checkEmpty ( iv , settings , signOnEmpty ) { if ( iv === '' || iv === settings . aNeg ) { if ( settings . wEmpty === 'always' || signOnEmpty ) { return ( settings . pNeg === 'l' ) ? iv + settings . aSign + settings . aSuffix : settings . aSign + iv + settings . aSuffix ; } return iv ; } return null ; }
private function to check for empty value
private function to check for empty value