Calculator - too many calcs

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Calculator - too many calcs

Postby newmanj » Sun Aug 08, 2010 8:26 pm

Hi,

I'm having some issues with the way the Calculator class operates. It's a bit difficult to explain, but I'll try to make it clear in an example. Pressing the following sequence of instructions leads to an extra, unwanted calculation taking place...

6 + 2 = *

The "6+2=" part operates as expected and produces the result 8, but then when the multiply button (or any other operator) is pressed, it performs another calculation, adding 2 to 8, producing the result 10. I would expect that instead of performing this operation, the 8 would be used as the primary operator in the next (multiply) calculation. Is this a known feature of the calculator? Is there an easy fix?


Thanks!
newmanj
 
Posts: 2
Joined: Mon Sep 14, 2009 6:04 pm

Re: Calculator - too many calcs

Postby JIDE Support » Mon Aug 09, 2010 11:49 am

Thanks for bug report. Will fix it in 2.10.0. Have checked the fix in the open source project. You could get it to build your own jar if you cannot wait.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: Calculator - too many calcs

Postby JIDE Support » Mon Oct 04, 2010 1:29 pm

Just so you know, this is fixed in 2.10.0 just released.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 75 guests