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

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.
chaleastaleAsked:
Who is Participating?
 
ethothsConnect With a Mentor Commented:
The Namespace is System. Unfortunately this is .net 2.0 only
0
 
npinchotCommented:
This is only available in the Microsoft .NET Framework 2.0 and above.

http://msdn2.microsoft.com/en-us/library/system.midpointrounding.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.