OT] Re: is there anyway to store the previous added lateExtraAmount

2007-06-06 Thread Dave Newton
--- prasad kumar <[EMAIL PROTECTED]> wrote: > String newLateExtraAmount = > new Double(Double.parseDouble(model.getAmount()) + lateExtraAmount).toString(). > > model.setAmount(String.valueOf(newLateExtraAmount)); Why do you do a String.valueOf on a String? > but the problem with th

Re: is there anyway to store the previous added lateExtraAmount

2007-06-06 Thread MK Tan
you can put the previous added lateExtraAmount into session. After that, just retrieve it back from the session n do ur calculation. HTH, MK Tan On 6/4/07, prasad kumar <[EMAIL PROTECTED]> wrote: hi, iam using struts, i have one class i.e LateExtra,in this class i have wriiten the c