Check that exp value is actually int by wraping it inside int()