The code is very simple(it is not that much more complicated in the real processing, but wanted to see if it failed in this case), but I don't understand why the Unix is not rounding as I would expect. All the machines tested were under 5.8.3.
$_ = 11700; printf "%6d %7.1f %7.2f\n", $_, ( $_/3600), ( $_/3600); It displays: 11700 3.2 3.25 on Unix 11700 3.3 3.25 on Windows Does the Unix always truncate or am I missing something? I am in the process of moving from w2k to Unix and I had another script which was having this problem and ended up writing a small routine for the script to make sure everyone was in sync. Is there a trick I am missing or is this life as we know it? Any questions and/or problems, please let me know. Thanks. Wags ;) Int: 9-8-002-2224 Ext: 408-323-4225x2224 ********************************************************** This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. **************************************************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>