• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

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??
0
systemop
Asked:
systemop
1 Solution
 
EpsylonCommented:
10.00.00 is not a valid integer value.
0
 
bugrogerCommented:
Epsylon you was faster :)
0
 
TheNeilCommented:
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!

 
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
 
TasomiaCommented:
i := StrToInt(Stringreplace(Edit1.Text,'.','',[rfreplaceall])) * 5;
0
 
systemopAuthor Commented:
Thanks for help..
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now