Solved

integer value

Posted on 2006-11-08
4
207 Views
Last Modified: 2010-04-16
Hi Guys,
            I am running a C# project and see 0x0000a2f5 value in the locals window for an integer variable account that I assign the value of 41717. What is 0x0000a2f5? I understand it's some other representation of 41717, say int32 or smth. I would like to see 41717 in the Locals not  0x0000a2f5, is it possible?

Thanks,
Serge
0
Comment
Question by:Autofreak
  • 2
4 Comments
 
LVL 15

Expert Comment

by:ozymandias
ID: 17901926
Its hex for 41717.
0
 

Author Comment

by:Autofreak
ID: 17902351
Is there a way to see the value as 41717?
Serge
0
 
LVL 15

Expert Comment

by:ozymandias
ID: 17902401
It should appear as that.
If I setup some simple code like this :

int x = 41717;

// insert a breakpoint here

Console.WriteLine(x.ToString());

My locals window shows x as 41717.

I'm not sure why yours is showing it in hex.
0
 

Accepted Solution

by:
merlin309 earned 50 total points
ID: 17902738
In the locals window. right mouse click and deselect 'Hexadecimal Display'.  That should turn it back into displaying base 10 values by default.

Mark
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
XML & .net 5 40
Resolve Dependency Issues 4 45
Interview questions for support of a legacy ASP.NET site 4 38
SQL Exceptions 3 37
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now