This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
how can I can digit places ? e.g. 12.34534 -> 12.35 or 6.3333-> 6.33 now, I am using the formula as following, result_arr[i] = (float) Math.floor( (float) tot_weight / respondents * 10 + 0.5) /10 ; Any other suggestions? Thanks