round2: Round 2

View source: R/dataWranglingCleaning.R

round2R Documentation

Round 2

Description

Rounds the number to two decimal points. If the value < .01 than a label "<.01" is used. Removes leading zeros.

Usage

round2(x)

Arguments

x

a number or a numeric vector

Value

a string or a character vector

Examples

round2(c(0.033, 0.1, 0.0002))

matschmitz/schmitz documentation built on July 9, 2024, 8:25 a.m.