Solved

Just Math..

Posted on 2001-07-02
6
141 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 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