Learn R Programming

RIbench (version 1.0.2)

formatNumber: Rounding method with trailing zeros.

Description

Rounding method with trailing zeros.

Usage

formatNumber(x, digits)

Value

Rounded value with trailing zeros

Arguments

x

(numeric) value that is rounded

digits

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

Author

Christopher Rank christopher.rank@roche.com