VenkatRastapuram
Programmer
Hi,
I declared a variable of type double and doing a arithmatic operation like addition and after the operation and setting the calculated value to a JTextField. I am useing Decimal_Format to fix the precesion to two decimal places. But this is not working properly. When we start the application it is first displaying its value with two decimal places but as soon as I remove the focus from the text box the value in the text box is changed to the decimal value with no fixed precesion.
Best Regards,
R.Venkatesh
Ocimum Biosolutions,
I declared a variable of type double and doing a arithmatic operation like addition and after the operation and setting the calculated value to a JTextField. I am useing Decimal_Format to fix the precesion to two decimal places. But this is not working properly. When we start the application it is first displaying its value with two decimal places but as soon as I remove the focus from the text box the value in the text box is changed to the decimal value with no fixed precesion.
Best Regards,
R.Venkatesh
Ocimum Biosolutions,