Skip to contents

from float number to percent number

Usage

float_to_percent(x, digits = 2)

Arguments

x

number

digits

hold n digits after the decimal point

Value

percent character of x

Examples

float_to_percent(0.12)
#> [1] "12.00%"