format_decimal {table.glue} | R Documentation |
Format decimal symbol
Description
format_decimal()
lets you update the settings of a
rounding_specification
object (see round_spec) so that
the decimal is represented by a user-specified mark.
Usage
format_decimal(rspec, mark = ".")
Arguments
rspec |
a |
mark |
a character value used to represent the decimal point. |
Value
an object of class rounding_specification
.
See Also
Other formatting helpers:
format_small()
Examples
small_x <- 0.1234567
rspec <- round_spec()
rspec <- round_using_decimal(rspec, digits = 7)
rspec <- format_decimal(rspec, mark = '*')
table_value(small_x, rspec)
[Package table.glue version 0.0.3 Index]