Learn R Programming

CGPfunctions (version 0.6.3)

exponent: Exponent of a number in scientific notation

Description

Returns the exponent of a number as it is written in scientific notation (powers of 10).

Usage

exponent(x)

Arguments

x

(required) numeric. A number.

Value

the exponent of the scientific notation representation of the number x

References

Thanks to Stackoverflow answer by Paul McMurdie https://stackoverflow.com/a/25555105