answersLogoWhite

0


Best Answer

That depends on what language you're using. In PHP for example, it would be like this:

$c = chr($i);

In C, it would be:

char c = (char)i;

in BASIC, you'd use:

LET C$ = CHR$(I)

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you convert decimal number to ASCII code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you spell Quinn in binary code?

In binary: 10100010 11101010 11010010 11011100 11011100 00000000 In hexadecimal: 0x5175696E6E00 10100010 = 0x51 = 'Q' (ASCII character code 81 decimal) 11101010 = 0x75 = 'u' (ASCII character code 117 decimal) 11010010 = 0x69 = 'i' (ASCII character code 105 decimal) 11011100 = 0x6E = 'n' (ASCII character code 110 decimal) 11011100 = 0x6E = 'n' (ASCII character code 110 decimal) 11011100 = 0x00 = 0 (ASCII character code 0 decimal - null-terminator)


Convert string have a nice day to equivalent ascii code include spaces between words in the resultant ascii?

Convert string have a nice day to equivalent ascii code include spaces between words in the resultant ascii?


What is the ASCII code in binary and in decimal for the letter b?

SymbolDecimalBinaryA6501000001B6601000010C6701000011D6801000100E6901000101F7001000110G7101000111H7201001000I7301001001J7401001010K7501001011L7601001100M7701001101N7801001110O7901001111P8001010000Q8101010001R8201010010S8301010011T8401010100U8501010101V8601010110W8701010111X8801011000Y8901011001Z9001011010SymbolDecimalBinarya9701100001b9801100010c9901100011d10001100100e10101100101f10201100110g10301100111h10401101000i10501101001j10601101010k10701101011l10801101100m10901101101n11001101110o11101101111p11201110000q11301110001r11401110010s11501110011t11601110100u11701110101v11801110110w11901110111x12001111000y12101111001z12201111010These is all the alphabet turned into ASCII first decimal then ASCII. Hope you find it useful.


What is the ASCII character '?

It is the apostrophe or single quote character ('). It has the ASCII code 0x27 (39 decimal).


What is the ASCII code for letter D?

The ASCII code for the letter D is 68 in decimal, 0x44 in hexadecimal/Unicode.


What is the binary code 10101010?

In decimal it is 170. It is the ASCII code for the ¬ character.


How do you you write know in binary code?

k n o w ? First convert it to ASCII code ... 107 110 111 119 (all decimal numbers) Then convert to binary : 1101011 1101110 1101111 1110111


What is the ASCII code in binary and decimal for lower case x?

Lower case 'x' is 120 (decimal) or 1111000 (binary) in the ASCII character table.


What is the binary code for 2?

Binary for the decimal number 2 is 10 (or 0000 0010 if you want it as a byte value) ASCII code for the decimal number 2 is 50 (Dec), 34 (Hex), 062 (Oct), 0011 0010 (Bin)


What is the ASCII code of H?

Capital H has an ASCII Code of 72 in Decimal. In Binary that is 1001000. In Hexadecimal it is 48. In Octal it is 110. For a small h it is Decimal 104, Binary 1101000, Hexadecimal 68 and Octal 150.


What is ASCII code of U?

Upper case U in ASCII/Unicode is binary 0101011, U is code number 85. Lower case u in ASCII/Unicode is binary 01110101, u is code number 117.


What is the ascii code in binary and decimal for a period?

In hexadecimal, that would be 0x2E, which is equivalent to 46 in decimal, which in binary is 101110.