📜  将 da decimale 转换为十六进制 javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:53.479000             🧑  作者: Mango

代码示例1
//hex <- int:
hexString = yourNumber.toString(16);

//int <- hex:
yourNumber = parseInt(hexString, 16);