public float getFloat(String name) {
		String value = getValue(name, "float");

		try {
			return Float.parseFloat(value);
		}
		catch (NumberFormatException e) {
			throw new XmlAttributeException("Expected float value for attribute \"" + name +
				"\", but was \"" + value + "\"");
		}
	}
Convenience class that converts XML attributes into typed property values.
Ghidra/Framework/Generic/src/main/java/generic/constraint/ConstraintData.java