my $number = $base * (10**$power); $hto_visk0 = sprintf("%.${power}f", $hto_visk0); [download]
In reply to Re: help with sprintf by FunkyMonk in thread help with sprintf by lil_v