Description Usage Arguments Value See Also Examples
View source: R/rounding_w_zeroes.R
When pasting labels, R will not display trailing zeroes; this is a way to work around it. The result can be returned to a numeric class if desired. It should be noted that if the digit input exceeds the actual digits in the value, it will still paste a trailing zero.
1 | rounding_w_zeroes(num, input_digits)
|
num |
Numeric; value(s) to round |
input_digits |
Numeric; the number of digits which to preserve |
Character versions rounded to the number of digits specified, including trailing zeroes
Other miscellaneous functions:
adjust_timezone()
,
ambient_temperature()
,
apply_date_tags()
,
apply_hour_tags()
,
column_dt()
,
filter_df()
,
group_stad()
,
organize_stad()
,
unit_convert()
,
wrangle_meta()
1 2 | rounding_w_zeroes(10.501, 2)
rounding_w_zeroes(10.591, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.