rnd_perc: Round data

View source: R/rounding.R

rnd_percR Documentation

Round data

Description

Round decimal point number i.e. 0.9 to percentage i.e. 90%, always rounds 0.5 up

Usage

rnd_perc(x, digits = 0, dec = TRUE)

Arguments

x

data

digits

desired number of digits, defaults to 0

dec

whether number is a decimal and should be multiplied by 100


ReverieNB/FMT-Package documentation built on March 10, 2023, 1:31 p.m.