private ScoreObject modop(ScoreObject a, ScoreObject b) {
		if (a.isNumeric() && b.isNumeric()) {
			if (a.isFloat() || b.isFloat())
				return new ScoreObject(a.getAsFloat() % b.getAsFloat());
			// must both be int then
			else if (a.isInt() && b.isInt())
				return new ScoreObject(a.getInt() % b.getInt());
		}
		throw new ScoreException("Cannot mod type " + b.getTypeName() + " with type " + a.getTypeName() + ".");
	}