fluid-api/src/main/java/com/fluidbpm/program/api/util/UtilGlobal.java
public final double toDoubleSafe(String toParseParam) {
		if (toParseParam == null || toParseParam.trim().isEmpty()) {
			return 0D;
		}
		try {
			return Double.parseDouble(toParseParam);
		} catch (NumberFormatException e) {
			return 0D;
		}
	}
public final double toDoubleSafe(String toParseParam) {
		if (toParseParam == null || toParseParam.trim().isEmpty()) {
			return 0D;
		}
		try {
			return Double.parseDouble(toParseParam);
		} catch (NumberFormatException e) {
			return 0D;
		}
	}
public final double toDoubleSafe ( String toParseParam ) { if ( toParseParam == null || toParseParam . trim ( ) . isEmpty ( ) ) { return 0D ; } try { return Double . parseDouble ( toParseParam ) ; } catch ( NumberFormatException e ) { return 0D ; } }
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 .