Solved

What name space do I have to include to get 'MidpointRounding' working?

Posted on 2006-11-22
2
523 Views
Last Modified: 2008-01-09
I was trying to use the 'MidpointRounding' for rounding numbers. But the following error is happening.

C:\Inetpub\wwwroot\PMXWebUI\Merchants.aspx.cs(1654): The type or namespace name 'MidpointRounding' could not be found (are you missing a using directive or an assembly reference?

I included the mscorlib.ddl. However, it is not working.

Do I have to use .net 2.0 and above? Mine is .net 1.1

Thank you.
0
Comment
Question by:chaleastale
2 Comments
 

Expert Comment

by:npinchot
ID: 17997412
This is only available in the Microsoft .NET Framework 2.0 and above.

http://msdn2.microsoft.com/en-us/library/system.midpointrounding.aspx
0
 
LVL 11

Accepted Solution

by:
ethoths earned 50 total points
ID: 17997424
The Namespace is System. Unfortunately this is .net 2.0 only
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

803 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