private static Number decrement(Number base, Number by) {
		if (base instanceof Byte || base instanceof Short || base instanceof Integer ||
			base instanceof Long) {
			return base.longValue() - by.longValue();
		}
		return base.doubleValue() - by.doubleValue();
	}
Constructor.

@param constraint Floating-point constraint for which this component is an editor.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constrainteditor/DoubleRangeConstraintEditor.java