specify_decimal: String rounded to a specific decimal places

View source: R/general_utilities.R

specify_decimalR Documentation

String rounded to a specific decimal places

Description

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ specify_decimal ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Usage

specify_decimal(my_number, number_of_digits = 0)

Arguments

my_number

Number that will be rounded

number_of_digits

Integer of didgits to round to.


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.