in ffwd-reporter/src/main/java/com/spotify/metrics/ffwd/Percentile.java [40:51]
public Percentile(int whole, int decimal) {
if (whole < 0 || whole >= 100) {
throw new IllegalArgumentException("whole " + whole + " is not in [0..100)");
}
if (decimal < 0 || decimal > 9) {
throw new IllegalArgumentException("decimal " + decimal + " is not in [0..9]");
}
this.whole = whole;
this.decimal = decimal;
percentileString = toPercentileString(this.whole, this.decimal);
quantile = toQuantile(this.whole, this.decimal);
}