Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Just Math..

Posted on 2001-07-02
6
Medium Priority
?
148 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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 30 total points
ID: 6244428
i := StrToInt(Stringreplace(Edit1.Text,'.','',[rfreplaceall])) * 5;
0
 

Author Comment

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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

916 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