Giter Club home page Giter Club logo

isbn's Introduction

isbn's People

Contributors

nithinbekal avatar

Stargazers

 avatar  avatar

Watchers

 avatar

isbn's Issues

ISBN-10s can end in "x" designating that the check digit is 10

I ran across this ISBN the other day: 140003471x

Amazon Link: https://smile.amazon.com/Chronicle-Foretold-Gabriel-Garc%C3%ADa-M%C3%A1rquez/dp/140003471X/ref=smi_www_rco2_go_smi_g1405964225?_encoding=UTF8&%2AVersion%2A=1&%2Aentries%2A=0&ie=UTF8

Sometimes an “X” appears—and what it actually means is “10.” Here’s why:
The ISBN has several parts which are all code for something. The final digit is known as the “check digit” and it verifies the ISBN. Check digits go from 0 to 10. In cases where the check digit would be 10, it appears as an X. The X only appears in 10-digit ISBNs. Source: https://rachellegardner.com/isbn-10-isbn-13-and-those-pesky-x%E2%80%99s/

So, I think when the check-digit is 10 for a 10-digit ISBN, it should check for the presence of an "x" rather than a "10" (which does not fit into a single digit).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.