exp10()

Learn how to use the exp10() function to return the base-10 exponential value of x.

The base-10 exponential function of x, which is 10 raised to the power x: 10^x.

Syntax

exp10(x)

Parameters

NameTypeRequiredDescription
xreal✔️The value of the exponent.

Returns

Returns the exponential value of x.

Examples

The following example shows how to use the exp10() function to calculate the exponential value of 2.

print result = exp10(2)

Output

result
100
  • For natural (base-10) logarithms, see log10().
  • For exponential functions of base-e and base-2 logarithms, see exp(), exp2().