Sorry to be dim but, with the following lines of code: $_ = FormatSigFigs($_,8); my $clem = sprintf("%08g", $_); print "$clem\n"; and starting with the number
1298.844667, I get the result 01298.84 and not 1298.845, as desired. Any ideas? Thanks again for your help