REBOL Document

Power - Function Summary


Summary:

Returns the first number raised to the second number.

Usage:

power number exponent

Arguments:

number - The number argument. (must be: number)

exponent - The exponent argument. (must be: number)

Description:


    print power 10 2
    100.0


    print power 12.3 5
    281530.56843

Related:

** - Returns the first number raised to the second number.
exp - Raises E (natural number) to the power specified.
log-10 - Returns the base-10 logarithm.
log-2 - Return the base-2 logarithm.
log-e - Returns the base-E (natural number) logarithm.


<Back | Index | Next>

Copyright 2004 REBOL Technologies