How to convert character to hexadecimal?

* 7stud -- <bbxx789_05ss@yahoo.com> (03:49) schrieb:

Then I ask you again what does have a bearing on that?
x = 0xA
What kind of number is x?

To add a little to Gennady Bystritsky's answer:

x is not a number--x is a variable. After the assignment, x refers to
an Integer object that was created from the Integer literal 0xA.

And an integer literal is a string representation of an Integer. And
these string representations do have a base.

mfg, simon .... l