Praveen Kumar Rejeti
Praveen Kumar Rejeti

Reputation: 243

Debugger is showing integer values as hexadecimal

Textbox text is number, and after int.Parse the debugger is showing the value as HEX rather than the value of 958 that I expect.

enter image description here

Upvotes: 2

Views: 2642

Answers (2)

David Morrow
David Morrow

Reputation: 294

While debugging open Locals Window, right click value displaying in Hex and click Hexdecimal Display.

Done, displays in Decimal.

Upvotes: 0

Ergwun
Ergwun

Reputation: 12978

It looks like it is parsing correctly.

Your debugger is just showing you the value in hexadecimal.

948 in base 10 is equal to 3b4 in hexadecimal.

Upvotes: 3

Related Questions