core :: Int :: to_hex
assert 1.to_hex == "1" assert (-255).to_hex == "-ff"
# return displayable int in hexadecimal # # ~~~ # assert 1.to_hex == "1" # assert (-255).to_hex == "-ff" # ~~~ fun to_hex: String do return to_base(16)