On Mon, Apr 22, 2002 at 09:58:21AM -0400, Alan Shutko wrote:
> Agustin Martin Domingo <[EMAIL PROTECTED]> writes:
> 
> > point in versions is not decimal separator, but major or minor version
> > separator. So
> >
> > 0.00001 == 0.01 == 0.1
> >
> > all means 
> >
> > major version=0
> > first minor version=1
> 
> Many developers don't consider those identical, though.  I wonder if
> fields should be zero-padded to equal width before comparison?  So
> comparing 0.01 and 0.1, you'd zero-pad 0.1 -> 0.10, and get the right
> comparison.

0.9 compared to 0.89 would then be the same as 0.90 compared to 0.89?
Not good.

-- 
Rune B. Broberg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Reply via email to