Solved

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

Posted on 2006-11-22
2
517 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
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:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

757 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

18 Experts available now in Live!

Get 1:1 Help Now