diracdelta question



I have a case like this

f(x) = x^2

integrate(f(x)*diracdelta(x-9),minf,9);

and 

integrate(f(x)*diracdelta(x-9),9,inf)

I can make a case for both integral's being equal to 81 / 2.  Is that the official answer?

Rich