Learn R Programming

pavian (version 1.0.0)

humanreadable: Make a number human readable

Description

Make a number human readable

Usage

humanreadable(x, base = 10^3, suffix = "", signif_digits = 3)

Arguments

x

Number.

base

typically 1000 or 2^10.

suffix

Will be concatendated to the end.

signif_digits

Number of significant digits.

Value

human readable representation of the number

Examples

Run this code
# NOT RUN {
humanreadable(1234.567)
# }

Run the code above in your browser using DataLab