[geeks] One of these days....

David Cantrell david at cantrell.org.uk
Wed Apr 17 05:34:23 CDT 2002


On Wed, Apr 17, 2002 at 01:31:57AM -0400, James Sharp wrote:

> What I don't understand is how (1.8 * $temper) + 32 can equal 32, despite
> the fact that $temper DOES equal something non-zero, as the print
> statements before and after the math statement show.

Without seeing the data I can't be sure, but I'd guess that $temper is not
what you think it is.  It's probably a string which when used in a numeric
context is evaluating to zero.

-- 
David Cantrell | Member of the Brute Squad | http://www.cantrell.org.uk/david

  World War 2: the best sequel ever



More information about the geeks mailing list