edAmt.Text := edQty.Text * edPrice.Text;
이 라인이 정상적으로 돌아가려면... StrToInt도 필요하고 IntToStr도 필요하죠.
edAmt.Text := IntToStr(StrToInt(edQty.Text) * StrToInt(edPrice.Text));
델초보 님이 쓰신 글 :
: 델 초보 입니다.
:
: procedure TfrmIoList123.edAmtEnter(Sender: TObject);
: begin
: if iiState in [1,2] then
: edAmt.Text := edQty.Text * edPrice.Text
: 요걸 계산하려고 하는데 strtoint 붙여서 계산하면 안되는건가요?
: 계속 에러 뜨내요.
: 고수님들 해결책좀 주세요~
|