Solved

Just Math..

Posted on 2001-07-02
6
140 Views
Last Modified: 2010-04-06
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??
0
Comment
Question by:systemop
6 Comments
 
LVL 13

Expert Comment

by:Epsylon
ID: 6244347
10.00.00 is not a valid integer value.
0
 
LVL 2

Expert Comment

by:bugroger
ID: 6244363
Epsylon you was faster :)
0
 
LVL 5

Expert Comment

by:TheNeil
ID: 6244365
10.00.00 is not a valid text string or a valid float value either

The Neil =:)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:systemop
ID: 6244412
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
 
LVL 2

Accepted Solution

by:
Tasomia earned 10 total points
ID: 6244428
i := StrToInt(Stringreplace(Edit1.Text,'.','',[rfreplaceall])) * 5;
0
 

Author Comment

by:systemop
ID: 6244578
Thanks for help..
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now