範例
Text-Integer Conversion decimal to hex conversion
輸入
255Expected answer
0xff- 輸出格式
Hexadecimal
Text-Integer Conversion decimal to string
輸入
4276803Expected answer
ABC- 輸出格式
String
Text-Integer Conversion hex to decimal conversion
輸入
0xFFExpected answer
JSON255- 輸出格式
Decimal
Text-Integer Conversion hexadecimal to string
輸入
0x48656C6C6FExpected answer
Hello- 輸出格式
String
Text-Integer Conversion large number to string
輸入
113091951015816448506195587157728348242683688608116Expected answer
Mary had a little cat- 輸出格式
String
Text-Integer Conversion non-Latin1 character in input
輸入
fbf874ce8b4307a14096566f.bin
4 bytes
下載Expected rejection
Message containsCharacter at position 1 exceeds Latin-1 range (0-255).
Only ASCII and Latin-1 characters are supported.- 輸出格式
Decimal
Text-Integer Conversion quoted string to decimal
輸入
"ABC"Expected answer
JSON4276803- 輸出格式
Decimal
Text-Integer Conversion quoted string to hexadecimal
輸入
"ABC"Expected answer
0x414243- 輸出格式
Hexadecimal
Text-Integer Conversion single character
輸入
"A"Expected answer
JSON65- 輸出格式
Decimal
Text-Integer Conversion single quoted string to decimal
輸入
'Hello'Expected answer
JSON310939249775- 輸出格式
Decimal
参數
| 参數 | 默認值 | 輸入與選項 |
|---|---|---|
| 輸出格式 | 字串 | 字串, Decimal, Hexadecimal |