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}; {