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",Value); /*if value = 123.456 result would be 123*/ What is the equivalent perl command outputting a floating point number without decimals. I read telephone from the database and they print as 6704046.0 I want to get rid of the .0 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]