Just Math..

Edit1.Text := 10.00.00
Label3.Caption := 50
 
ilk := StrToInt(Edit1.Text);
Son := StrToInt(Label3.Caption);
Sonuc := FloatToStr(ilk * son);

What's Wrong?? Why it is not working??
systemopAsked:
Who is Participating?
 
TasomiaCommented:
i := StrToInt(Stringreplace(Edit1.Text,'.','',[rfreplaceall])) * 5;
0
 
EpsylonCommented:
10.00.00 is not a valid integer value.
0
 
bugrogerCommented:
Epsylon you was faster :)
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
TheNeilCommented:
10.00.00 is not a valid text string or a valid float value either

The Neil =:)
0
 
systemopAuthor Commented:
yes it is true 10.00.00 is not an integer value forget it if i want to
10.000.000 * 5 how can i do this??
0
 
systemopAuthor Commented:
Thanks for help..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.