Solved

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

Posted on 2006-11-22
2
526 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
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 get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

726 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