VB.NET Language in a Nutshell

   
Pi Field

Class

System.Math

Syntax

Math.PI

Return Value

A Double containing the approximate value of the irrational number pi

Description

This field returns the approximate value of the irrational number pi . In particular:

Math.PI = 3.14159265358979

Rules at a Glance

This is a Shared member, so it can be used without creating any objects.

VB.NET/VB 6 Differences

The Pi field is new to VB.NET.

See Also

E Field

   

Категории