Home Common Problem What is the ASCII code for character 9?

What is the ASCII code for character 9?

Apr 21, 2020 pm 05:45 PM
ascii code

ASCII ((American Standard Code for Information Interchange): American Standard Code for Information Interchange) is a computer coding system based on the Latin alphabet, mainly used to display modern English and other Western European languages. It is the most common information exchange standard and is equivalent to the international standard ISO/IEC 646. ASCII was first published as a standard type in 1967, and was last updated in 1986. So far, a total of 128 characters have been defined.

What is the ASCII code for character 9?

The ASCII code of character 0 is 48, and the ASCII code of character 9 is 57.

ASCII codes 48 to 57 are ten Arabic numerals from 0 to 9.

0~31 and 127 (33 in total) are control characters or communication-specific characters (the rest are displayable characters), such as control characters: LF (line feed), CR (carriage return), FF (form feed) ), DEL (delete), BS (backspace), BEL (ring), etc.; communication special characters: SOH (head of text), EOT (end of text), ACK (confirmation), etc.

ASCII values ​​8, 9, 10 and 13 are converted to backspace, tab, line feed and carriage return characters respectively. They do not have a specific graphic display, but will have different effects on text display depending on the application.

32~126 (95 in total) are characters (32 is a space), of which 48~57 are ten Arabic numerals from 0 to 9.

65~90 are 26 uppercase English letters, 97~122 are 26 lowercase English letters, and the rest are some punctuation marks, arithmetic symbols, etc.

Size rules

Common ASCII code size rules: 0~9

1) Numbers are smaller than letters. Such as "7" < "F";

2) The number 0 is smaller than the number 9, and increases in sequence from 0 to 9. For example, "3" < "8";

3) The letter A is smaller than the letter Z, and increases in order from A to Z. For example, "A" < "Z";

4) The uppercase letters of the same letter are 32 smaller than the lowercase letters. Such as "A"<"a".

The ASCII code sizes of several common letters: "A" is 65; "a" is 97; "0" is 48.

For more related knowledge, please pay attention to PHP Chinese website! !

The above is the detailed content of What is the ASCII code for character 9?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

ASCII code comparison table ASCII code comparison table Jun 21, 2023 pm 05:36 PM

ASCII (American Standard Code for Information Interchange, American Standard Code for Information Interchange) is a set of character encodings based on Latin letters. It contains a total of 128 characters and can be stored in one byte. It is equivalent to the international standard ISO/IEC 646 . The ASCII specification was first published in 1967 and last updated in 1986.

What is the ascii code value of d What is the ascii code value of d Feb 02, 2023 am 11:26 AM

The ASCII code value of d is 100; because the ASCII code value of a is the hexadecimal number 61H, that is, the decimal value is 97, and d is the last three digits of a, then the ASCII code value of d is "97+3=100" ;ASCII code uses a specified 7-bit or 8-bit binary number combination to represent 128 or 256 possible characters.

How many bytes does an ascii code occupy? How many bytes does an ascii code occupy? Sep 07, 2023 pm 04:03 PM

An ASCII code occupies one byte. ASCII code is a coding standard used to represent characters. It uses 7-bit binary numbers to represent 128 different characters, including letters, numbers, punctuation marks, special characters, etc. A byte is the basic unit of computer storage unit. It consists of 8 binary bits. Each binary bit can be 0 or 1. One byte can represent 256 different values, so it can represent all characters in the ASCII code.

what does ascii code mean what does ascii code mean Jul 18, 2022 am 11:15 AM

ascii code is a computer coding system based on Latin letters; ascii code is the abbreviation of "American Standard Code for Information Interchange". It is mainly used to display modern English and other Western European languages. It is the most common information exchange standard, using the designated 7 bit or 8-bit binary number combination to represent 128 or 256 possible characters.

Does the standard ascii code of one character occupy one byte of storage? Does the standard ascii code of one character occupy one byte of storage? Aug 02, 2022 pm 04:39 PM

Yes, the ASCII code of one character occupies 1 byte of storage space. In the ASCII code table, the order from small to large code values ​​is: control characters, numeric characters, uppercase English letters, and lowercase English letters. ASCII code is a Western encoding, mainly used to display modern English and other Western European languages. One code occupies one byte.

ASCII code comparison table ASCII code comparison table Jan 15, 2024 pm 04:30 PM

ASCII code is "American Standard Code for Information Interchange", American Standard Code for Information Interchange: 1, 0, NUL; 2, 1, SOH; 3, 2, STX; 4, 3, ETX, etc. ASCII code includes many other characters and symbols. Each character corresponds to a unique integer value, and these integer values ​​are called ASCII codes.

What are the differences between unicode and ascii What are the differences between unicode and ascii Sep 06, 2023 am 11:56 AM

The differences between unicode and ascii include different encoding ranges, different storage spaces, and different compatibility. Detailed introduction: 1. The encoding range is different. The encoding range of ASCII is 0-127, which is mainly used to represent English letters. The encoding range of Unicode is much wider and can represent almost all language characters; 2. The storage space is different. ASCII usually Use 1 byte to store a character, while unicode may use 2 or more bytes to store a character; 3. Different compatibility, etc.

1KB of memory can store up to __ ASCII characters. 1KB of memory can store up to __ ASCII characters. Mar 06, 2023 am 11:16 AM

1KB memory can store up to "1024" ASCII characters. KB (kilobyte) is a multiple of the computer data storage unit byte, 1KB is equal to 1024B (byte); and ASCII code characters are represented by 7-bit binary encoding in the computer and are stored in a byte , that is, one ASCII code occupies one byte.