|
@@ -171,7 +171,7 @@ public class TtsUtil {
|
|
result = (float) (2 + (speed - 1.5)/(2.5 - 1.5) * (6 - 2));
|
|
result = (float) (2 + (speed - 1.5)/(2.5 - 1.5) * (6 - 2));
|
|
}
|
|
}
|
|
|
|
|
|
- return new BigDecimal(result).setScale(2).floatValue();
|
|
|
|
|
|
+ return new BigDecimal(result).setScale(2, BigDecimal.ROUND_DOWN).floatValue();
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|