pct2str: Converts decimal percentage to string with specified digits

View source: R/utils.R

pct2strR Documentation

Converts decimal percentage to string with specified digits

Description

Converts decimal percentage to string with specified digits

Usage

pct2str(v, digits = 2)

Arguments

v

A single value

digits

number of digits

Value

Boolean

Examples

nums <- 0.23
pct2str(nums)


compbiomed/animalcules documentation built on Feb. 7, 2024, 12:13 p.m.