numbers of decimal
I don't know if this forum is apropriate to my doubt..
I have a simple problem.
Look to help me..
I do a calcution in my application to discovery the IMC of the patient, but how the field is type double, then the numbers of decimal is very big. Example: 23.51231519283718
I want to limit to 2 decimals. I like this result 23.51 like the function ROUND of SQL.
I try use the class numberFormat, but this function is to J2SE, I don't have success when I try import in my class.
Can you help me?
Thanks a lot,