Version - dotted string with up to three components.
Comparisons are done component by component for the smallest number of components.
So:
"3" >= "2.99.99"
"3" < "4"
"3" >= "3.99.99"
"3.9" >= "3"
"3.9" >= "3.0"
"3.9" >= "3.9.99"
The empty string "" is the "maximum" version and compares > all other versions.
Version - dotted string with up to three components. Comparisons are done component by component for the smallest number of components. So: "3" >= "2.99.99" "3" < "4" "3" >= "3.99.99" "3.9" >= "3" "3.9" >= "3.0" "3.9" >= "3.9.99"
The empty string "" is the "maximum" version and compares > all other versions.