Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9191353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:39:48+00:00 2026-06-17T20:39:48+00:00

Why are version numbers typically 2.1.3 instead of 2.13? Seems like the latter makes

  • 0

Why are version numbers typically “2.1.3” instead of 2.13?

Seems like the latter makes more sense, since you can run numerical comparators over it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:39:49+00:00Added an answer on June 17, 2026 at 8:39 pm

    For the same reason that when the version number is encoded into an integer (e.g. Python’s sys.hexversion), it’s padded with zeroes:

    You frequently have to go beyond 10.

    Many projects adopt a major.minor.bugfix scheme (e.g. Semantic Versioning). Maybe version 2.1.9 has a security hole which need to patch; you’d need to call it 2.1.10 (because calling it 2.2.0 implies new features and possible minor incompatibilities). Maybe version 3 completely changes the syntax so you want to continue to add features to version 2.

    Maybe your project simply releases so frequently that you have more than 100 minor/bugfix versions per major version (kernel.org lists 2.6.34.14 and 3.0.60).

    Finally, it’s a string. Sure, you can parse it into a double for comparison purposes, but plenty of languages/libraries support “numeric” string comparisons (so “Document 9” comes before “Document 10”); Apache’s mod_autoindex even calls it “VersionSort”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to write a cmp -like function that compares two version numbers and
What are the correct version numbers for C#? What came out when? Why can't
So Product Management have decreed that our software should have version numbers with 3
I'm struggling with checking the validity of version numbers in Perl. Correct version number
I'm somewhat confused on the Linux kernel version numbers. I noticed that many Linux
It's easy to set the build and version numbers manually in Xcode, and I
Short version: What's the best practice going forward for efficiently rendering large numbers of
I have a version number in my AssemblyInfo.cs file like so: [assembly: AssemblyInformationalVersion(0.0.0.2)] Normally
How can I store a version number in a static library (file.a) and later
The MSDN documentation states: Version numbers consist of two to four components: major, minor,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.