We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd1087a + f956eba commit f2b61c7Copy full SHA for f2b61c7
hystrix-core/src/main/java/com/netflix/hystrix/metric/CachedValuesHistogram.java
@@ -108,7 +108,7 @@ public int getMean() {
108
* @return value at percentile (from cache if possible)
109
*/
110
public int getValueAtPercentile(double percentile) {
111
- int permyriad = (int) percentile * 100;
+ int permyriad = (int) (percentile * 100);
112
switch (permyriad) {
113
case 0: return p0;
114
case 500: return p5;
0 commit comments