2009�N05��24��

JS : 10�i�� <-> 16�i��

<script type="text/javascript">

document.write( 0x123456 );
document.write( "<br>" );

document.write( parseInt("0x" + 123456) );
document.write( "<br>" );

document.write( eval("0x" + 123456) );
document.write( "<br>" );

document.write( parseInt( "123456", 16 ) );
document.write( "<br>" );

document.write( parseInt("#123456".replace(/#/,"0x")) );
document.write( "<br>" );

document.write( (0x123456).toString(16) );
document.write( "<br>" );

</script>

1193046
1193046
1193046
1193046
1193046
123456
posted by night wálker at 01:07| JavaScript
JavaScript �x�[�V�b�N
SyntaxHighlighter
�N���X�u���E�W���O
���̑�
Highslide JS
�v���̑��Y��ɎB�ꂽ��
�u���O���ʂ�ɂ́AJavaScript ���K���K�v�ł��B
���ɁAGoogle �̑��݂͑傫���AGoogle MAP ���͂��߂Ƃ���
���낢��Ȑ�i�̋Z�p���ȒP�ɗ��p�ł��܂��B
���\�m���Ă��Ȃ����̂�����A���� JavaScript ��׋�����Ύg����悤�ɂȂ���
�����̃u���O�ɂ��낢��ȉԂ�Y���鎖���ł���悤�ɂȂ�Ǝv���܂��B
�� ���̉Ԃ� Highslide JS �ƌ����� Google �Ƃ͊֌W����܂���B



Admin