Try this:

=IF(RIGHT(A1,2)="DB",-1,1)*TRIM(LEFT(A1,LEN(A1)-2))

with your entry in A1.

Hope this helps.

Pete