Search Results

Search: Posts Made By: jim mcnamara
3,338
Posted By jim mcnamara
1. I think you might want to read some perl...
1. I think you might want to read some perl documentation or a perl book - most especially if this is something you are doing for your work.

2. my $var = sprintf("%.3f", 12.123456);
3,338
Posted By jim mcnamara
my $number = 12.345673412; printf( "%.3f\n",...
my $number = 12.345673412;
printf( "%.3f\n", $number);


such a basic question cannot be that urgent. Sounds like homework.
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy