Round Up To Two Decimal Places E G 4 444

[Solved] Round Up To Two Decimal Places E G 4 444 | Perl - Code Explorer | yomemimo.com
Question : Round up to two decimal places (e.g 4.444) followed by newline

Answered by : hanif-abdulkareem

printf "%.2f\n" 4.4444
4.44

Source : https://linuxhint.com/round-two-decimal-places-bash/ | Last Update : Wed, 14 Sep 22

Answers related to round up to two decimal places e g 4 444

Code Explorer Popular Question For Perl