in reply to Re^7: help with sprintfin thread help with sprintf
my $string = sprintf( "%.*f", $p, $number ); [download]