Muistiinpano
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoja.
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoja.
Returns the result of a number raised to a power.
Syntax
expression.Power (Arg1, Arg2)
expression A variable that represents a WorksheetFunction object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Arg1 | Required | Double | Number - the base number. It can be any real number. |
| Arg2 | Required | Double | Power - the exponent to which the base number is raised. |
Return value
Double
Remarks
The "^" operator can be used instead of Power to indicate to what power the base number is to be raised, such as in 5^2.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.