R/numbers.R
signif_string.Rd
from float number to fixed significant digits character
signif_string(x, digits = 2)
number
hold n significant digits
character
signif_string(1.1, 2) #> [1] "1.1"