Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
15 user(s) are online (14 user(s) are browsing Forum)

Members: 0
Guests: 15

more...

Browsing this Thread:   1 Anonymous Users



« 1 (2) 3 4 5 ... 8 »


Re: A new calculator? Yes.

Joined:
2012/4/28 5:42
From Sweden
Group:
Member
Posts: 192
Offline
Well one syninym would be "Estimator"


Posted on: 2012/11/16 22:25
_________________
To NSA: Hope you found my post interesting.
Transfer the post to other applications Transfer


Re: A new calculator? Yes.

Joined:
2012/4/28 5:42
From Sweden
Group:
Member
Posts: 192
Offline
Well one synonym would be "Estimator"


Posted on: 2012/11/16 22:25
_________________
To NSA: Hope you found my post interesting.
Transfer the post to other applications Transfer


Re: A new calculator? Yes.

Joined:
2012/1/16 5:57
Group:
Member
Posts: 260
Offline
@all

Thanks for the feedbacks (serious and silly one included ^_^), I'm glad this little utility has aroused a little interest.

I'll work to fix the issues that mago pointed out and then I'll be back.

Posted on: 2012/11/18 10:39
Transfer the post to other applications Transfer


Re: A new calculator? Yes.

Joined:
2012/1/16 5:57
Group:
Member
Posts: 260
Offline
Ok, here's a version that fixes some bugs (not only those reported by magorium).

@magorium: you were wondering how the "%" operator works. That's a good question, my friend, because apparently everybody has its own opinion. I did a bit of tests and the results were:

72 + 5 % = 3.6 (windows XP calculator)
72 % 5 = 3.6 (linux galculator)
72 + 5 % (returns 75.6) (a desk calculator)

I chose to the third behaviour.

If someone is able to tell me what should be the behaviour of that operator, I'll gladly change accordingly the calculator

There's one bug I'm working on. Since this is a calculator for trivial tasks I'm storing the result in a mere FLOAT, and of course it's easy to pass that limit if you start playing dirty jokes with that calculator. I'm working on how to block the user that plays the smartass.

Attach file:


zip calc.zip Size: 92.49 KB; Hits: 41

Posted on: 2012/11/22 15:12

Edited by jman on 2012/11/22 22:56:53
Transfer the post to other applications Transfer


Re: A new calculator? Yes.

Joined:
2012/4/28 5:42
From Sweden
Group:
Member
Posts: 192
Offline
In my opinion the first option is the right one. But I think this might be regional problem for different parts of the world. I'm not sure US citicents and european's have the same opinion on what would be the "right" answer.

But I reason like this.

5% of 72 is 3.6 (That's universal )

but on the windows calc it is
72+5%=75.6

that would be 72 + 5% (partsum 3.6) = 75.6 whitch is correct.

Pressing = should be mandatory to ask for a result and showing the part sum of 5% of 72 makes it clearer that terms you are using in the calculation.

The last example is a bit "horrible" to me since it just add 5 to 72 and makes it 77 not ant percent at all. The other two examples are right in mathematical sence.






Posted on: 2012/11/22 20:03
_________________
To NSA: Hope you found my post interesting.
Transfer the post to other applications Transfer


Re: A new calculator? Yes.

Joined:
2009/9/27 22:09
Group:
Member
Posts: 866
Offline
According to Google...
72 + 5% = 75.6 not 77
72 - 5% = 68.4 not 67
72 / 5% = 1440 not 14.4
72 * 5% = 3.6 not 360

Also convert hex ffff to binary

Posted on: 2012/11/22 22:56
Transfer the post to other applications Transfer


Re: A new calculator? Yes.

Joined:
2012/1/16 5:57
Group:
Member
Posts: 260
Offline
@droopy & @cavemann

thanks for the suggestions! I'll look into it better.
I've amended "75 + 5 %" in my post since obviously "77" is 72+5 (I did some copy and paste without doublechecking).

Posted on: 2012/11/22 23:00
Transfer the post to other applications Transfer


Re: A new calculator? Yes.

Joined:
2012/1/16 5:57
Group:
Member
Posts: 260
Offline
@all

here's a new version that should fix the bugs you reported.

Thanks!

Attach file:


zip calc.zip Size: 92.91 KB; Hits: 85

Posted on: 2012/12/9 12:06
Transfer the post to other applications Transfer


Re: A new calculator? Yes.

Joined:
2004/10/30 17:13
From Ireland
Group:
Member
Posts: 2046
Offline
Quote:

jman wrote:
There's one bug I'm working on. Since this is a calculator for trivial tasks I'm storing the result in a mere FLOAT, and of course it's easy to pass that limit if you start playing dirty jokes with that calculator. I'm working on how to block the user that plays the smartass.


You're using floats and not doubles? IIRC it's easy to come up against float limitations in real world scenarios.

Posted on: 2012/12/9 15:48
Transfer the post to other applications Transfer


Re: A new calculator? Yes.

Joined:
2012/4/27 12:29
From Stockholm, Sweden
Group:
Member
Posts: 740
Offline
This really is a cute and usefull little calculator. Perfect for my ZG5. The only thingmissing IMHO (since I know little of math) is an icon :)

Posted on: 2012/12/10 3:03
_________________
"If I only got 640 kb of RAM I could rule the world."
Transfer the post to other applications Transfer



« 1 (2) 3 4 5 ... 8 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
3623
2 nikolaos
nikolaos
3451
3 phoenixkonsole
phoenixkonsole
2929
4 magorium
magorium
2780
5 deadwood
deadwood
2291
6 clusteruk
clusteruk
2052
7 ncafferkey
ncafferkey
2046
8 mazze
mazze
2036
9 damocles
damocles
1787
10 Kalamatee
Kalamatee
1705
© 2004-2013 AROS Exec