How To Format The Number Of Decimal Places In Perl
erics, Posted October 10th, 2011 at 1:27:01pm
1 2 |
my $number = 123.45; printf("%.3f", $number); |
Outputs: 123.450
Leave Your Comment
All fields marked with "*" are required.