πŸ™ [HELP] Could I help ? in Visual Basic

Posts 1–5 of 5 Β· Page 1 of 1
πŸ™ [HELP] Could I help ? in Visual Basic
Hello Friends need a help does anyone know how to add HexDecimal + Decimal in Visual Basic

example:
09BC3DE4 + 5000 = 9BC8DE4





Thanks '-'
Quote Originally Posted by drigao1578 View Post
09BC3DE4 + 5000 = 9BC8DE4
This is hexadecimal + hexadecimal..

but to answer your question
Code:
&H9BC3DE4 + 5000
Code:
&H
is the prefix for hexadecimal values and they're just numbers as well
Quote Originally Posted by Biesi View Post


This is hexadecimal + hexadecimal..

but to answer your question
Code:
&H9BC3DE4 + 5000
Code:
&H
is the prefix for hexadecimal values and you they're just numbers as well
I want Somar In Visual Basic Hex + Decimal
example :

int i;
i = 10; 'decimal 10
System.out.println("decimal: " + i);
System.out.println("hex: " + Integer.toHexString(i));
i = &H10; // hexa 10.. valor em decimal eh 16
System.out.println("decimal: " + i);
System.out.println("hex: " + Integer.toHexString(i));
If it's always Hex + Dec
Code:
Dim hex As Integer = Integer.Parse(TextBox1.Text, Globalization.NumberStyles.HexNumber)
Dim dec As Integer = Integer.Parse(TextBox2.Text)
TextBox3.Text = (hex + dec).ToString()
Posts 1–5 of 5 Β· Page 1 of 1

Post a Reply

Similar Threads

Talk with us