specifyDecimal: specifyDecimal

View source: R/number.R

specifyDecimalR Documentation

specifyDecimal

Description

Taken in part from https://stackoverflow.com/a/12135122/1547926https://stackoverflow.com/a/12135122/1547926

Usage

specifyDecimal(x, decimals = 2, comma.for.thousands = TRUE)

Arguments

x

The number(s).

decimals

Number of decimal places to show.

comma.for.thousands

If TRUE, uses a comma when there are thousands.


Displayr/flipFormat documentation built on Aug. 28, 2024, 6:48 p.m.