powered by
Rounds a number to a specified amount of digits and returns the string value.
rnd_dbl(dbl, digits = 3)
number to be rounded.
number of digits the number needs to be rounded to (defaults to 3).
3
A string value of the number rounded to the specified amount of digits.
# NOT RUN { rnd_dbl(1.26564,digits = 2) # }
Run the code above in your browser using DataLab