ISBN is an acronym for International Standard Book Number.
Old ISBNs are 10 digits long and they were used before year 2007.
Old ISBN can have X on the end (still 10 digits long).
Example: 999-9999-99-X
We don't count minus (sometimes space) signs.
Not every ISBN has the same formatting with minus or space signs.
Can vary.
Example:
999-99999-9-9
999 9999 99 9
999-999-999-9
ISBNs are bought in blocks.
Last digit of 13 or 10 digit ISBN is what's called check digit.
New ISBNs are 13-digits long and we're using it since 2007.
You can convert 10 digit ISBN to 13 digit ISBN and vice-versa (13 digit ISBN to 10 digit ISBN).
For digitally storing ISBNs in database I usually use string data type.
More on ISBN:
https://en.wikipedia.org/wiki/International_Standard_Book_Number
No comments:
Post a Comment