![]() |
|
#1
|
|||
|
|||
|
I have some problems with my delphi calculator, with parentheses, for example, I wish I could have something like this, when I enter 6*100+3*10+7 to get result 637, but when I enter (100+2)*2 not to get 104, but to get 204. PLEASE HELP ME!
Thank you |
|
#2
|
|||
|
|||
|
I'm not sure I understand your problem.
Code:
procedure TForm1.Button1Click(Sender: TObject); begin button1.Caption := inttostr((100+2)*2); end; |
|
#3
|
|||
|
|||
|
Actually I just need Delphi calculator which works with parentheses and 4 operations(*,+,-,/)! So if you have example of that one, tell me!
|
|
#4
|
|||
|
|||
|
|
|
#5
|
|||
|
|||
|
Yeah, but for example, when I enter this one 6*100+3*10, i get (6*100+3)*10, so it doesnt work for that one...
|
|
#6
|
|||
|
|||
|
Please check your email.
__________________
Regards, Abdulaziz Jasser |
|
#7
|
|||
|
|||
|
lol love that link Frag_68 how'd you do that?
|
|
#8
|
|||
|
|||
|
Just go to http://lmgtfy.com and type the search just like you normally would in Google. Then click whichever button you want and it'll give you a link. I used the "I feel lucky" one so it took you to the first search result.
|
![]() |
| Tags |
| calculator, parentheses |
| Thread Tools | |
| Display Modes | |
|
|