Re: Number format control

2003-01-29 Thread the sequel
Use the same syntax and only change the command: sprintf insted of printf. //fluff - Original Message - From: "Jattie van der Linde" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 3:02 PM Subject: Number format control c syntax equivalent: printf ("%3.0f"

RE: Number format control

2003-01-29 Thread wiggins
On Wed, 29 Jan 2003 14:02:47 -, "Jattie van der Linde" <[EMAIL PROTECTED]> wrote: > c syntax equivalent: printf ("%3.0f",Value); /*if value = 123.456 result would be >123*/ > > What is the equivalent perl command outputting a floating point

Re: Number format control

2003-01-29 Thread Janek Schleicher
On Wed, 29 Jan 2003 14:02:47 +, Jattie Van Der Linde wrote: > c syntax equivalent: printf ("%3.0f",Value); /*if value = 123.456 result would be >123*/ > > What is the equivalent perl command ... printf "%3.0f", $Value; Cheerio, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For add