This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
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



See also 

EXP
SQRT

 
PROPERTIES 

Product: 4D
Theme: Functions

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D SQL Reference ( 4D v20 R7)