POWER

4D - Documentation   Français   English   German   Japanese   4D SQL Reference, Table of Contents   4D SQL Reference, Index   Back   Previous   Next

version 11


POWER (arithmetic_expression, arithmetic_expression)

Description

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.


4D - Documentation   Français   English   German   Japanese   4D SQL Reference, Table of Contents   4D SQL Reference, Index   Back   Previous   Next