as_percent: Convert as percent (string)

View source: R/as_percent.R

as_percentR Documentation

Convert as percent (string)

Description

Convert a numeric value into a string with percentage sign.

Usage

as_percent(num, rounding = 0)

Arguments

num

Numeric vector to pass through

rounding

Number of decimal places to round to. Default is 0.

Examples

as_percent(.86748)

martinctc/surveytools documentation built on Nov. 21, 2024, 10:48 p.m.