outputInt: SI or English formatting of an integer

Description Usage Arguments Value Examples

View source: R/outputInt.R

Description

English uses ',' between every 3 numbers while the SI format recommends a ' ' if x > 10^4. The scientific form 10e+? is furthermore avoided.

Usage

1
outputInt(x, language = "en", html = TRUE, ...)

Arguments

x

The integer variable

language

The ISO-639-1 two-letter code for the language of interest. Currently only english is distinguished from the ISO format using a ',' as the separator.

html

If the format is used in html context then the space should be a non-breaking space,  

...

Passed to format

Value

string

Examples

1
outputInt(123456)

raredd/Gmisc0 documentation built on May 27, 2019, 2:02 a.m.