John Wu
John Wu

Reputation: 52290

Which of these version labels is higher?

Bearing in mind that

100 > 9

and

.9 > .100

Which of these is the later version?

Version 2.1.100
Version 2.1.9

I'm trying to figure out whether the dots in a version label act as a decimal point or if they are simply delimiters around independently incrementing numbers.

Upvotes: 0

Views: 35

Answers (1)

AProgrammer
AProgrammer

Reputation: 52324

The common practice seems to have 2.1.9 is before 2.1.100. See for instance

but people tends to do their own thing, especially when considering old enough software (the RPM documentation reference hints that Perl version had such oddity in the past, probably related to the presence of initial 0 in a segment)

Upvotes: 1

Related Questions