This week's book giveaway is in the Design forum. We're giving away four copies of Building Microservices and have Sam Newman 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