Answer the question
In order to leave comments, you need to log in
Software release number comparison algorithm (1.2.345 and 1.12.3.45 and 1.111.23.4.5)?
By what principle is it more correct to compare the numbering of software releases of the type: 1.2.345 and 1.12.3.45 and 1.111.23.4.5?
(When you need to know which software version is newer, but not by date).
Split or into blocks separated by dots and compare one by one if the previous ones === ?
Or convert to some other format?
Or am I looking in the wrong direction at all?
Thanks in advance for the constructive!
Answer the question
In order to leave comments, you need to log in
Parse point by point, then - in lexicographic order, considering numbers as an alphabet.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question