Results 1 to 2 of 2
Thread: Trying to make simple calculator
- 09-18-2011, 12:13 PM #1
Member
- Join Date
- Sep 2011
- Posts
- 1
- Rep Power
- 0
Trying to make simple calculator
Hello, I am a super noob in java coding but I need to make myself a calculator. It seems simple but for me it's not. So I need a blank field where when I put for example 10 I need the calculator to add 10% and multiply the result by 2.4, so the final result should be 26.4. Greatly sorry if this is the wrong section. I would be glad if you can help me, thanks in advance.
- 09-18-2011, 01:37 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,413
- Blog Entries
- 7
- Rep Power
- 17
Re: Trying to make simple calculator
Read my blog entries: one of them babbles about ScriptEngines; you can use the Javascript engine to evaluate your expressions. The other entry talks about compilers and comes bundled with a bit of code, ready to run. Those entries don't talk about a GUI for the stuff so you have to make the view part yourself.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
Similar Threads
-
Simple Calculator
By marksey07 in forum New To JavaReplies: 12Last Post: 01-09-2011, 06:30 AM -
Re: Simple Calculator cont'd
By JavaHater in forum New To JavaReplies: 3Last Post: 01-07-2011, 02:00 AM -
creating a simple calculator
By hobo in forum New To JavaReplies: 4Last Post: 11-09-2009, 03:09 AM -
Simple Calculator Display Problem :(
By jimbob in forum Java AppletsReplies: 4Last Post: 07-18-2009, 04:13 AM -
[SOLVED] Simple Conversion Calculator
By dbashby in forum New To JavaReplies: 6Last Post: 03-20-2009, 01:06 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks