in reply to help with sprintf
What about...
my $number = $base * (10**$power); $hto_visk0 = sprintf("%.${power}f", $hto_visk0);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: help with sprintf
by lil_v (Sexton) on Jun 26, 2008 at 18:39 UTC | |
by FunkyMonk (Bishop) on Jun 26, 2008 at 18:43 UTC | |
by lil_v (Sexton) on Jun 26, 2008 at 18:49 UTC | |
by psini (Deacon) on Jun 26, 2008 at 18:57 UTC | |
by lil_v (Sexton) on Jun 26, 2008 at 19:04 UTC | |
|