diff --git a/src/utils/tpl-builtin.ts b/src/utils/tpl-builtin.ts index db16c8e8..cc63ce44 100644 --- a/src/utils/tpl-builtin.ts +++ b/src/utils/tpl-builtin.ts @@ -166,7 +166,7 @@ export const filters: { }, duration: input => (input ? formatDuration(input) : input), bytes: input => (input ? prettyBytes(parseFloat(input)) : input), - round: (input, decimals = 0) => { + round: (input, decimals = 2) => { if (isNaN(input)) { return 0; }