decp {lazy.tools}R Documentation

Returns the (approximate) # of Digits on the Both Sides of the Decimal Point

Description

Returns the (approximate) # of Digits on the Both Sides of the Decimal Point

Usage

decp(num, maxpower = 10)

Arguments

num

A numeric vector

maxpower

10 or higher

Value

A vector or matrix containing the # of digits

Examples

decp(c(-5.2,-3.99, 0, 1, 1.2, 5.23, 9999.8888, 99999999.8888888888))


[Package lazy.tools version 0.1.3 Index]