formatting

This commit is contained in:
starlord 2024-06-28 08:39:38 -07:00
parent 97c61442ca
commit 7ef8d17972

View file

@ -45,14 +45,13 @@ for t in "${tokens[@]}"; do
read -r inv val mar mov <<<$(echo 0 0 0 0);
fi
row=$(
echo "${row}<tr><td class=\"left\">${tok}</td><td>${bal}</td><td>" \
$(printf "$%.2f\n" $prc)"</td><td>" \
$(printf "$%.2f\n" $inv)"</td><td>" \
$(printf "$%.2f\n" $val)"</td><td>" \
$(printf "$%.2f\n" $mar)"</td><td>" \
$(printf "%.3f\n" $mov)"</td></tr>" \
$(printf "%.3f%%\n" $mov)"</td></tr>" \
);
csv=$(
echo "${csv}"\