"함수 dechex()"의 두 판 사이의 차이

(새 문서: ;dechex *decimal to hexadecimal ==PHP== category: PHP <source lang='PHP'> echo dechex(10); # a echo dechex(47); # 2f </source>)
 
7번째 줄: 7번째 줄:
echo dechex(10); # a
echo dechex(10); # a
echo dechex(47); # 2f
echo dechex(47); # 2f
</source>
==Python==
[[category: Python]]
<source lang='Python'>
print( hex(10) ) # 0xa
print( hex(47) ) # 0x2f
</source>
</source>

2014년 8월 24일 (일) 00:21 판

dechex
  • decimal to hexadecimal

1 PHP

echo dechex(10); # a
echo dechex(47); # 2f

2 Python

print( hex(10) ) # 0xa
print( hex(47) ) # 0x2f
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}