fix decimals
This commit is contained in:
parent
b3d444d0fa
commit
09567b8d11
|
|
@ -55,7 +55,7 @@ module.exports = {
|
|||
options = options || {};
|
||||
let percentiles = options.percentiles || [0, 90, 100];
|
||||
let decimals = options.decimals || 0;
|
||||
if (stats.median() < 1) {
|
||||
if (stats.median() < 1 && stats.median() > 0) {
|
||||
decimals = 4;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue