Fengzhimei@Dot.Net
Designing My Colorful Dream
摘要: varhexChars="0123456789ABCDEF";functionDec2Hex(dec){vara=dec%16;varb=(dec-a)/16;varhex=""+hexChars.charAt(b)+hexChars.charAt(a);returnhex;}functionHex2Dec(hex){returnparseInt(hex,16);} 阅读全文
posted @ 2006-07-28 17:26 fengzhimei 阅读(1549) 评论(0) 推荐(0) 编辑