PI Field


PI Field

Class

System.Math

Syntax

     Dim result As Double = Math.PI 

Description

The PI field returns the approximate value of the irrational number p, approximately 3.14159265358979.

Usage at a Glance

This is a shared member of the System.Math class, so it can be used without an instance.

Version Differences

The PI field is new to VB under .NET.

See Also

E Field




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net