| approx.size {memuse} | R Documentation |
Approximate size of an integer; a poor man's exponential notation.
approx.size(x, unit.names = "long", ..., digits = 1)
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. |
A simple printing system to make numbers readable.
An object of class approx.
## Not run: library(memuse) approx.size(12345678) approx.size(12345678, unit.names="comma") ## End(Not run)