formatF: Format numeric values.

View source: R/bruceR_utils.R

formatFR Documentation

Format numeric values.

Description

Format numeric values.

Usage

formatF(x, digits = 3)

Arguments

x

A number or numeric vector.

digits

Number of decimal places of output. Defaults to 3.

Value

Formatted character string.

See Also

format, formatN

Examples

formatF(pi, 20)


psychbruce/bruceR documentation built on Oct. 2, 2023, 10:26 p.m.