Scripting >> Examples >> Python-Perl-Powershell-Bash-Windows Batch >> Example 007 - Formatting the ouput when printing numbers


Formatting the output when printing numbers


Examples in Python, Perl, Powershell, Bash and Windows batch.
 

 

 

 

 

 

 

 

 

 

 

 

 

## NOTE
##
## References: https://www.dostips.com/DtTipsStringManipulation.php

Sample output for - Python



Sample output for - Perl



 

Sample output for - Bash

 

Sample output - Windows Batch