473,756 Members | 2,117 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Math

I have just switched from VB6 to vb .net. In Vosual
Studio.net I am missing the reference to System.Math and
can not find it anywhere. I assume is is System.Math.dll .
Where the hell is it?

Thanks,
Jim
Nov 20 '05 #1
3 8530
In Vosual Studio.net I am missing the reference to System.Math
What makes you think that? Are you sure you're not just missing an
Imports statement?

I assume is is System.Math.dll . Where the hell is it?


No there isn't. System.Math is implemented in Mscorlib.dll, which is
always referenced.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Nov 20 '05 #2
Jim,
Where the hell is it? No place, as there is not a System.Math.dll ;-)

System.Math is a class within the mscorlib assembly.

mscorlib is the core .NET library which means you cannot write a VB.NET
program without it! (read mscorlib is automatically referenced and you
cannot unreference it).

If you look up System.Math (or other class) in MSDN at the bottom of the
overview page is a Requirements section. This section lists the Namespace
the class is in. Plus it lists the assembly the class is in, along with what
platforms the class supports. Note Some classes are partially supported on
different platforms, so you need to check the individual methods.

http://msdn.microsoft.com/library/de...ClassTopic.asp

Remember that an individual Namespace (System.Data for example) may have
classes in different assemblies.

Hope this helps
Jay
"DrJRice" <dr*****@comcas t.net> wrote in message
news:96******** *************** *****@phx.gbl.. . I have just switched from VB6 to vb .net. In Vosual
Studio.net I am missing the reference to System.Math and
can not find it anywhere. I assume is is System.Math.dll .
Where the hell is it?

Thanks,
Jim

Nov 20 '05 #3
Jim
Thanks,

Opened up the object browser and there they were in
mscorlib.

Thanks again,
Jim
-----Original Message-----
In Vosual Studio.net I am missing the reference to
System.Math
What makes you think that? Are you sure you're not just missing anImports statement?

I assume is is System.Math.dll . Where the hell is it?
No there isn't. System.Math is implemented in

Mscorlib.dll, which isalways referenced.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
.

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2254
by: Ark | last post by:
Hi everyone, Does anyone know if Direct3D overloads System.Math functions? Also is it possible to access the base functions of the overloaded function (in other words restore original of the overlaoded function)? Thank you
0
1387
by: BuddyWork | last post by:
Hello, Here is an update. There is no differences with the function System.Math.Log10 under any operating system. The problem is with the casting of the datatype double and value Infinite to datatype int.
3
17947
by: pontifikas | last post by:
I'm pretty damn sure there should be a System.Math library somewhere around .Net. But I cannot find it. What is the name of the reference for it? Any Ideas? What could I be doing wrong? *-----------------------* Posted at:
1
1607
by: Jim | last post by:
I just switched to VB .net from VB 6. In Visual Studio .net, I am missing the System.Math reference and functions like Sqrt undefined. I have looked everywhere and can not find a reference for it. Any help here? Thanks, Jim
4
4191
by: muzilli | last post by:
Howdy all, what is the same DivRem function for Mobile development. I'm using the ..NET compact framework. Thanks all, Marcelo Muzilli
2
5056
by: Radek Cerny | last post by:
Hopefully I'm just missing something obvious, but this method (or more likely the CLR/complier) has a bug where I can not use the overloaded version: Round( double value, int digits ) It always seems to use the Round(decimal value, int decimals) version, no matter what the first parameter is - double or decimal. Intellisense agrees with the compiler - incorrectly. Is it me, a known issue or a new issue? I need this quite...
1
3102
by: merarajesh | last post by:
hi, I am developing intensity of wave in physics. I am using system.math in c#. every thing is fine. but the result of Intensity is not well. my formula is:- I=4*a2*cos2(delta/2); delta=2pi/lambda*trangle; trangle=dx/d lambda=constant*10pow-10;
2
4331
by: Richard Ballin | last post by:
Hello All, I am taking a class using Visual Studio C++ Express 2010 and on one of the first projects i need to use the Math::Pow() function. The book does not do a good job of explaining how to use this. I was able to create the program and calculate simple interest fine with a normal formula however once I needed to calculate compounded interest it required a exponent. Line 203 of the Code is where the error is. "error C2660:...
0
9462
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10046
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9886
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7259
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3817
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.