FormatWithDecimals: This function is deprecated. Use FormatAsReal instead....

View source: R/number.R

FormatWithDecimalsR Documentation

This function is deprecated. Use FormatAsReal instead. Formats real numbers with a specified number of decimal places.

Description

This function is deprecated. Use FormatAsReal instead. Formats real numbers with a specified number of decimal places.

Usage

FormatWithDecimals(x, decimal.places = 2)

Arguments

x

The number(s).

decimal.places

Number of decimal places to show.

Note

Specifying decimal.places to be 0 is now an error for R v4.2.0 and above.


Displayr/flipFormat documentation built on Jan. 25, 2025, 5:50 p.m.