Delphi: maths function
Posted by WAllison on November 18, 2003 at 13:27:17:
In Reply to: maths function posted by Nick on November 18, 2003 at 10:36:17:
: i am looking for the code to enable me to multiply the text in an edit1.text by the text in an edit2.text and display the result in edit3.text (assuming that the 'text' in the edits are actually numbers.
edit1.Text := IntToStr(StrToInt(edit2.text) * StrToInt(Edit3.text));
[ DelphiLand: free Delphi source code, tips, tutorials ]