printf: left-pad a number and specify precision: %05.2f : Printf « Development « PHP
- PHP
- Development
- Printf
printf: left-pad a number and specify precision: %05.2f
<?php
printf ("left-pad a number and specify precision: %05.2f\n", 33.22);
?>
Related examples in the same category