Question : Round/print to two decimal places using variable 'num' followed by newline
Answered by : hanif-abdulkareem
printf "%.2f\n" $num
Source : https://linuxhint.com/round-two-decimal-places-bash/ | Last Update : Wed, 14 Sep 22
Answered by : hanif-abdulkareem
printf "%.2f\n" $num
Source : https://linuxhint.com/round-two-decimal-places-bash/ | Last Update : Wed, 14 Sep 22