Hi I am learning about visual basic. Visual Basic is designed to be relatively easy to learn and use. I am facing some problem during run any vb project. I need a vb dec to hex converter. Can anyone help me?
Need a vb dec to hex converter.
Hello Gomez Jakson,
Â
I believe there is a built in function for a Decimal to Hexadecimal converter. This is the code
Hex(*decimal*) or Hex$(*decimal*) |
If you are also looking for a Hexadecimal to Decimal converter then you can use this code.
If you want a Decimal to Octal and vice versa then you can use this code.
Oct(*decimal*) or Oct$(*decimal*) and &O*octal* |
Â
Hope this helps.