signif_round_string: signif or round string depend on the character length

View source: R/numbers.R

signif_round_stringR Documentation

signif or round string depend on the character length

Description

signif or round string depend on the character length

Usage

signif_round_string(
  x,
  digits = 2,
  format = "short",
  full_large = TRUE,
  full_small = FALSE
)

Arguments

x

number

digits

signif or round digits

format

short or long

full_large

keep full digits for large number

full_small

keep full digits for small number

Value

signif or round strings

Examples

signif_round_string(1.214, 2)

baizer documentation built on Oct. 19, 2023, 9:07 a.m.