pow10
Declaration
double function pow10(double X)
Description
pow10 returns 10 to the power X where -305 < X < 305. If x is not a whole
number it is truncated before use.
Example Stored Procedure
CREATE PROCEDURE test_pow10 (X DOUBLE PRECISION)
RETURNS (result DOUBLE PRECISION) AS
BEGIN
result = pow10(X);
END!!
WISQL - calling the example stored procedure
execute procedure test_pow10(3);
RESULT
======================
1000
execute procedure test_pow10(1.9);
RESULT
======================
10
Error Results - restrictions on X are : -305 < X < 305
execute procedure test_pow10(305);
RESULT
======================
-999999
execute procedure test_pow10(-305);
RESULT
======================
-999999