How to convert the decimal "37" to the hex Value "25" in Erlang? Is there a simple way?
integer_to_list(Integer, Base) -> string()
将整数转换为您提供的任何基数的列表: http : integer_to_list(Integer, Base) -> string()
一个更简单的解决方案: httpd_util:integer_to_hexlist(Number) -> HexString
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.