VB.NET Language in a Nutshell

   
Pow Function

Class

System.Math

Syntax

result = Math.Pow( x , y )

x, y (required; Double)

Return Value

A Double that is x (the base) raised to the power y (the exponent)

Description

This is a generalized exponential function; it returns the result of a number raised to a specified power.

Rules at a Glance

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

VB.NET/VB 6 Differences

The Pow function is new to the .NET Framework.

See Also

Exp Function

   

Категории