Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: tloz128 on April 26, 2010, 09:30:06 pm

Title: my java calculator
Post by: tloz128 on April 26, 2010, 09:30:06 pm
Yes, I made a calculator. It sucks, but I'm proud of it.  :P

Let me know what you think of it!
Title: Re: my java calculator
Post by: meishe91 on April 26, 2010, 10:41:34 pm
Not a bad start I think. Just keep at it :)
Title: Re: my java calculator
Post by: Builderboy on April 26, 2010, 10:55:20 pm
Thats actually pretty nice :)  Are you planning to add any other features or do you plan to move onto other projects?
Title: Re: my java calculator
Post by: DJ Omnimaga on April 26, 2010, 11:12:17 pm
Nice, I am curious if you are planning to add more features too ^^
Title: Re: my java calculator
Post by: tloz128 on April 26, 2010, 11:39:27 pm
Yeah, I'll probably add some other features to it like decimals and negative numbers- maybe exponents. I'm probably not going to spend a whole lot more time on it, though.
Title: Re: my java calculator
Post by: meishe91 on April 27, 2010, 12:09:28 am
Doesn't it already support negative numbers?
Title: Re: my java calculator
Post by: tloz128 on April 27, 2010, 08:08:01 am
Yes, but you can only get a negative number by subtracting from a positive one. What I meant was that I was going to add in a negative symbol so that you can multiply and divide by negatives.
Title: Re: my java calculator
Post by: tloz128 on April 28, 2010, 11:02:15 pm
finished v1.1 and added in a whole bunch of new stuff   ;D
Title: Re: my java calculator
Post by: DJ Omnimaga on April 28, 2010, 11:09:20 pm
mhmm
when I type numbers, then + then try typing another number, it continues adding digits x.x
Title: Re: my java calculator
Post by: tloz128 on April 28, 2010, 11:27:18 pm
weird... that shouldn't be happening  ???
Title: Re: my java calculator
Post by: meishe91 on April 28, 2010, 11:51:31 pm
Hmm its nice. I don't get the thing DJ is getting though. However, it doesn't auto-clear if it is supposed to (like if you do an equation then try entering stuff without hitting clear it just adds the number to the end or something). Also, I would reverse how the x√y works, as I would put what root you are doing and then the number that is being "rooted." Just my opinion. It's very nice though.
Title: Re: my java calculator
Post by: bwang on April 29, 2010, 12:03:49 am
You should add symbolic support. With Java's built-in string handling it shouldn't be that hard.
Also, maybe display the expression as you type it, instead of just the numbers?
Title: Re: my java calculator
Post by: tloz128 on April 30, 2010, 06:48:49 pm
You should add symbolic support. With Java's built-in string handling it shouldn't be that hard.
Also, maybe display the expression as you type it, instead of just the numbers?

Yeah, I could probably put that in. It's still a work in progress, and there's still some stuff that I want to add to it.
Title: Re: my java calculator
Post by: qazz42 on September 09, 2010, 10:51:26 am
I am working on one.. in C#
Title: Re: my java calculator
Post by: DJ Omnimaga on September 09, 2010, 05:55:17 pm
Nice, do you plan to add some features not present in other windows calculators or is it mostly for learning experience?
Title: Re: my java calculator
Post by: qazz42 on September 09, 2010, 06:13:35 pm
Learning expericance

right now it is command line, but once I learn how to do advanced forms....
Title: Re: my java calculator
Post by: DJ Omnimaga on September 09, 2010, 07:00:57 pm
Aah ok, well good luck :)