specify_decimal: Specify a decimal

Description Usage Arguments Examples

View source: R/utils.R

Description

Specify a decimal

Usage

1

Arguments

x

a number to be rounded

k

round to which position after the comma

Examples

1
2
## specify 2 decimals of a number
specify_decimal(1.0434, 2)

peRspective documentation built on July 14, 2021, 9:06 a.m.