Microsoft
Software
Hardware
Network
Question : Java Calculator Problem
Hello Experts,
I am having a problem developing a calculator that will add all my inputs. for example if i want to add 1+2+3= then my calculator will only add the 2+3. Other than that the calculator does the correct calculations for 1+2=3 with no problem, its only when i add the third value the output is incorrect. THanks!!!
Answer : Java Calculator Problem
try this:
private void plusActionPerformed(java.a
wt.event.A
ctionEvent
evt) {
equalsActionPerformed(null
);
firstDouble=(Double.parseD
ouble(Stri
ng.valueOf
(display.g
etText()))
);
display.setText("");
plusClick=1;
decimalClick=0;
}
Random Solutions
How convert Windows 7 shadow copies into usable Restore Points like XP?
How do I change default email address in site on sharepoint 2007 moss
SAP RFC returning Invalid Data Type
Conditional Formating in Access
Image within a Div is upside down... Need to have it align bottom and "STAY" within DIV boundaries
Backup Exec 12 - Catalog issue
change SQLserver 2005 to mix mode
Setting up my first database driven web site
wordpress causing infinite tabs opening?
I can send e-mail ok but cannot get to Internet via browser