Results 1 to 2 of 2
  1. #1
    Buldogg is offline Member
    Join Date
    Sep 2011
    Posts
    1
    Rep Power
    0

    Thumbs up 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.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,525
    Blog Entries
    7
    Rep Power
    20

    Default Re: Trying to make simple calculator

    Quote Originally Posted by Buldogg View Post
    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.
    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,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Simple Calculator
    By marksey07 in forum New To Java
    Replies: 12
    Last Post: 01-09-2011, 06:30 AM
  2. Re: Simple Calculator cont'd
    By JavaHater in forum New To Java
    Replies: 3
    Last Post: 01-07-2011, 02:00 AM
  3. creating a simple calculator
    By hobo in forum New To Java
    Replies: 4
    Last Post: 11-09-2009, 03:09 AM
  4. Simple Calculator Display Problem :(
    By jimbob in forum Java Applets
    Replies: 4
    Last Post: 07-18-2009, 04:13 AM
  5. [SOLVED] Simple Conversion Calculator
    By dbashby in forum New To Java
    Replies: 6
    Last Post: 03-20-2009, 01:06 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •