Philmy $num = 5.26256; my $formatted = sprintf( "%.2f", $num ); print "$formatted\n";
In reply to Re: How to give format to numbers?
by philcrow
in thread How to give format to numbers?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |