$\displaystyle \int e^{2x}dx$ [-infinity,0]

I set this equal to the limit as x goes to -infinity and subbed in a for -infinity. Then I solved the definite improper integral getting= $\displaystyle \frac{e^{2x}}{2}$ . I got (1/2)-0 = 1/2. Did I do this right??