[Omaha.pm] How do I turn 17.1 into "017.100" ?

Andy Lester andy at petdance.com
Fri Dec 9 11:56:52 PST 2005


On Fri, Dec 09, 2005 at 01:51:45PM -0600, Jay Hannah (jhannah at omnihotels.com) wrote:
> Is there a printf FORMAT for this? Or is this a 4 liner?

printf "%07.3f", 17.1

perldoc -f sprintf

xoxo,
Andy
-- 
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance


More information about the Omaha-pm mailing list