public static boolean isDecimal(@Nullable String text) {
		if (text == null || text.isEmpty())
			return false;
		try {
			Double.parseDouble(text);
			return true;
		} catch (NumberFormatException ex) {
			return false;
		}
	}
@param text
		Text to check.

@return {@code true} when the given text represents a decimal number.
recaf-core/src/main/java/software/coley/recaf/util/StringUtil.java