How to convert decimal to hex?

What is hexadecimal number and how can I convert decimal to hex?

Q: hexadecimal integer "ff"
A: 255
T: 0.075 ms
I: singular integer

Q: 255 as hexadecimal
A: ff
T: 0.027 ms
I: singular string
3 Likes

Thanks, SLB for your reply.