formatNumber: Rounding method with trailing zeros.

View source: R/utils.R

formatNumberR Documentation

Rounding method with trailing zeros.

Description

Rounding method with trailing zeros.

Usage

formatNumber(x, digits)

Arguments

x

(numeric) value that is rounded

digits

(integer) indicating the number of decimal places to be used

Value

Rounded value with trailing zeros

Author(s)

Christopher Rank christopher.rank@roche.com


RIbench documentation built on Nov. 28, 2022, 1:11 a.m.