$mynum=2000.99; $totalline = sprintf("%11.2f\n", $mynum); print $totalline;