📅  最后修改于: 2022-03-11 14:52:38.134000             🧑  作者: Mango
//You can replace X with x to get lower case hex characters
//Replace the 2 with the amount of digits you want
String.format("%02X", value);