fluid-api/src/main/java/com/fluidbpm/program/api/util/UtilGlobal.java
public final String toGoeSafe(String toParseParam) {
		if (toParseParam == null || toParseParam.trim().isEmpty()) {
			return ZERO;
		}
		try {
			for(char charToCheck : toParseParam.toCharArray()){

				if(!Character.isDigit(charToCheck) && '.' != charToCheck){
					return ZERO;
				}
			}

			if(toParseParam.length() > 12){
				return toParseParam.substring(0,12);
			}

			return toParseParam;
		} catch (NumberFormatException e) {
			return ZERO;
		}
	}
public final String toGoeSafe(String toParseParam) {
		if (toParseParam == null || toParseParam.trim().isEmpty()) {
			return ZERO;
		}
		try {
			for(char charToCheck : toParseParam.toCharArray()){

				if(!Character.isDigit(charToCheck) && '.' != charToCheck){
					return ZERO;
				}
			}

			if(toParseParam.length() > 12){
				return toParseParam.substring(0,12);
			}

			return toParseParam;
		} catch (NumberFormatException e) {
			return ZERO;
		}
	}
public final String toGoeSafe ( String toParseParam ) { if ( toParseParam == null || toParseParam . trim ( ) . isEmpty ( ) ) { return ZERO ; } try { for ( char charToCheck : toParseParam . toCharArray ( ) ) { if ( ! Character . isDigit ( charToCheck ) && ' ' != charToCheck ) { return ZERO ; } } if ( toParseParam . length ( ) > 12 ) { return toParseParam . substring ( 0 , 12 ) ; } return toParseParam ; } catch ( NumberFormatException e ) { return ZERO ; } }
Convert the {@code toParseParam} to a double.

@param toParseParam The {@code String} value to convert to {@code double}.

@return {@code toParseParam} converted to a {@code double}.
Convert the { @code toParseParam } to a double .