Solved

Just Math..

Posted on 2001-07-02
6
143 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

763 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