O'Reilly logo

VB.NET Language in a Nutshell, Second Edition by Steven Roman PhD, Paul Lomax, Ron Petrusha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required