Hola
Como te han dicho, la mejor manera es cambiar el dato de string a float.
Simplemente:
Código Delphi
[-]
var a,b: real;
begin
query1.SQL.Clear;
Query1.sql.text:= 'Select sum(importe) as Monto from cobranzas where alucurso ='+IntToStr( x ) ;
query1.Active:=true;
Edit2.Text:= Query1.FieldByName('Monto').asstring;
f:= StringReplace(dbedit12.Text, '$', '', [rfReplaceAll]);
g:= StringReplace(dbedit10.Text, '$', '', [rfReplaceAll]);
edit3.Text:= FloatToStr(StrToFloat(f) + StrToFloat(g));
a:= StrToFloat(edit2.text);
b:= StrToFloat(edit3.text);
if a < b then
showmessage('todavia debe cuotas');
Saludos