4D v14

POWER

Home

 
4D v14
POWER

POWER  


 

 

Command POWERPOWER (arithmetic_expression, arithmetic_expression)

The POWER function raises the first arithmetic_expression passed to the power of "x", where "x" is the second arithmetic_expression passed.

Example  

This example raises each value to the power of 3:

SELECT SourceValues, POWER(SourceValues, 3)
FROM Values
ORDER BY SourceValues
`returns 8 for SourceValues = 2

 
PROPERTIES 

Product: 4D
Theme: Functions

 
SEE ALSO 

EXP
SQRT

 
ARTICLE USAGE

4D SQL Reference ( 4D v11 SQL Release 4 )
4D SQL Reference ( 4D v14)
4D SQL Reference ( 4D v12.1)
4D SQL Reference ( 4D v13.4)
4D SQL Reference ( 4D v14 R2)
4D SQL Reference ( 4D v14 R3)
4D SQL Reference ( 4D v14 R4)