mantissa: Mantissa of a number in scientific notation

View source: R/sci_notation.R

mantissaR Documentation

Mantissa of a number in scientific notation

Description

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

Usage

mantissa(x)

Arguments

x

(required) numeric. A number.

Value

the mantissa of the scientific notation representation of the number x

Examples

 x <- c(1,400,500000,.0003)
 mantissa(x)

tomhopper/numbr documentation built on Nov. 5, 2022, 11:35 p.m.