- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
if(dOper1p->Caption == "-0")
dOper1p->Caption = "+0";
if(dOper2p->Caption == "-0")
dOper2p->Caption = "+0";
if(dOper1m->Caption == "-0.0")
dOper1m->Caption = "+0.0";
if(dOper2m->Caption == "-0.0")
dOper2m->Caption = "+0.0";
if (dOper1p -> Caption [0] == '-')
dOper1p -> Caption [0] = '+';
if (dOper2p -> Caption == '-')
dOper2p -> Caption = '+';
Хотя бм тож говнокод))