exponent: Exponent of a number in scientific notation

Description Usage Arguments Value Author(s) References

View source: R/helpers.R

Description

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

Usage

1

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


CGPfunctions documentation built on Nov. 12, 2020, 5:08 p.m.