FormatDouble: Formats a value to an double in text form with the specified...

View source: R/Util.r

FormatDoubleR Documentation

Formats a value to an double in text form with the specified number of decimal places. This is typically used to generate pretty report text values @param value A vector of values to convert to Double format. Can be factor, character, or number @param decimals how many decimal places the final values should display

Description

Formats a value to an double in text form with the specified number of decimal places. This is typically used to generate pretty report text values @param value A vector of values to convert to Double format. Can be factor, character, or number @param decimals how many decimal places the final values should display

Usage

FormatDouble(value, decimals)

Value

vector of text values in integer format (i.e. number with no decimal place).


PSC-CoTC/AnnualReport documentation built on March 26, 2022, 9:33 a.m.