exponent {CGPfunctions}R Documentation

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

Author(s)

Tom Hopper

References

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


[Package CGPfunctions version 0.6.3 Index]