pct2str: Converts decimal percentage to string with specified digits

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Converts decimal percentage to string with specified digits

Usage

1
pct2str(v, digits = 2)

Arguments

v

A single value

digits

number of digits

Value

Boolean

Examples

1
2
nums <- 0.23
pct2str(nums)

animalcules documentation built on Nov. 8, 2020, 6:47 p.m.