this is top-posted because it doesn't follow from any one of the previous posts.
just a warning to be careful of subtracting or dividing similar numbers in floating point and what your expectations are for the results. google for 'catastrophic loss of precision' or similar, or check out the floating point standard (IEEE #754) for why these fall apart. *most* tests of equality, or relative size, in *most* architectures, map to subtractions by the time they get the processor. watch out. just a tuppence / 2 eurocents worth. ed c _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs