From b2404ead75ad90e8ee6657aa84b852209586a29a Mon Sep 17 00:00:00 2001 From: poka Date: Thu, 1 Oct 2020 05:17:30 +0200 Subject: [PATCH] Fix don't find round in old jq --- lib/cumulate.jq | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cumulate.jq b/lib/cumulate.jq index 017fddf..1cd1980 100644 --- a/lib/cumulate.jq +++ b/lib/cumulate.jq @@ -1,3 +1,4 @@ +def round: . + 0.5 | floor; def roundit: .*100.0|round/100.0; [foreach .[] as $row ({nbrMembers: 0, nbrWallets: 0, sMembers: 0, rMembers: 0, sWallets: 0, rWallets: 0}; {