Format the number : Number « Report « Perl






Format the number

   

$pi = 3.1415926;

format STDOUT =
@.## @.#######
$pi   $pi
.

write;

   
    
    
  








Related examples in the same category