Greetings, I am trying to figure out why the following doesn't work the way I would expect it to:
$var1 = 1.5; $var2 = sprintf(".0f", $var1); $var2 ends up being rounded down to 1 instead of being rounded up to 2 which is what I would expect to see. Does anyone know why this is happening, and/or is there a way to get a result of 2 instead of 1? Any help would be appreciated. Rob Zielfelder Tyco Electronics .-. --.. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>