Last data update: 2014.03.03

R: approx.size
approx.sizeR Documentation

approx.size

Description

Approximate size of an integer; a poor man's exponential notation.

Usage

approx.size(x, unit.names = "long", ..., digits = 1)

Arguments

x

A number.

unit.names

"long", "short", or "comma"; determines wheter the output reads like "10 million", "10m", or "10,000,000", respectively.

...

Additional arguments

digits

The number of decimal digits to retain.

Details

A simple printing system to make numbers readable.

See Also

howmany

Examples

## Not run: 
library(memuse)

approx.size(12345678)
approx.size(12345678, unit.names="comma")

## End(Not run)

Results