Hi all,
I have a jsp page which gets form data and does update or insert these
data into database depending on the button type. But the wired thing is
that during run time code was chopped into pieces and each piece was
done twice. Then it looks like the whole jsp page was run twice.
Does anyone
Try to use java.text.NumberFormat
NumberFormat nf= NumberFormat.getInstance();
nf.setMaximumFractionDigits(2);
nf.setMinimumFractionDigits(2);
Double number = 10/3;
String snumber = nf.format(number);
-Original Message-
From: Lawence [mailto:[EMAIL