Need a vb dec to hex converter.

Asked By 20 points N/A Posted on -
qa-featured

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?

SHARE
Answered By 0 points N/A #165717

Need a vb dec to hex converter.

qa-featured

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.

&H*hexadecimal*

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.

Login/Register to Answer

Related Questions