Mega Code Archive

 
Categories / Perl / String
 

Format and sprintf

format STDOUT = @|||||||||||||||||||||||||| sprintf "%.4f", 3.1415 . write;