Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-22
2
Medium Priority
?
534 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 150 total points
ID: 17997424
The Namespace is System. Unfortunately this is .net 2.0 only
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn how to count occurrences of each item in an array.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

877 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