Lines Matching refs:result
52 float result = number;
54 if (result > 900) {
56 result = result / 1024;
58 if (result > 900) {
60 result = result / 1024;
62 if (result > 900) {
64 result = result / 1024;
66 if (result > 900) {
68 result = result / 1024;
70 if (result > 900) {
72 result = result / 1024;
75 if (result < 1) {
76 value = String.format("%.2f", result);
77 } else if (result < 10) {
79 value = String.format("%.1f", result);
81 value = String.format("%.2f", result);
83 } else if (result < 100) {
85 value = String.format("%.0f", result);
87 value = String.format("%.2f", result);
90 value = String.format("%.0f", result);