str_percent_fr: Conversion from a numeric percentage to a French formatted...

Description Usage Arguments Value Examples

View source: R/scales.R

Description

Conversion from a numeric percentage to a French formatted label.

Usage

1
str_percent_fr(x, digits = 0, sign = FALSE, suffix = TRUE)

Arguments

x

A numeric vector.

digits

Integer indicating the number of decimal places. Set to NULL to skip round.

sign

Display of "+" and "-".

suffix

Suffix after the percent value.

Value

A French formatted label.

Examples

1
caractr::str_percent_fr(0.1)

stephLH/caractr documentation built on May 13, 2020, 1:53 p.m.