in reply to Re: Unwanted implicit conversion to float
in thread Unwanted implicit conversion to float

I'm curious... I recall this being a bigger problem in older versions of Perl and patches being applied such that Perl became smart enough to avoid including "9999999" or "0000001" on the end of floating point numbers.

So is this a case where round-off is making the result "a bit off" from the closest possible value and this prevents the "smarter" code from avoiding the extra trailing digits? I wouldn't think that adding "1" would cause that problem.

Update: Okay, we're doing a running total here so there is round-off involved. Sorry for the confusion.

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: Unwanted implicit conversion to float