in reply to Re^2: sprintf percent formatting
in thread sprintf percent formatting
This seems elegant enough for me, but as always I welcome suggestions.......code..... ok($keyword_density >= $min_keyword_density,"Keyword density " . sprin +tf("%2d%%",$keyword_density*100) . ", minimum " . sprintf("%2d%%",$mi +n_keyword_density*100) );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: sprintf percent formatting
by Util (Priest) on Aug 17, 2005 at 14:44 UTC |