Mega Code Archive

 
Categories / Perl / String
 

Print sprintf %6 6fn, $value

$value = 1234.56789; print sprintf "%6.6f\n", $value;