formatF {bruceR}R Documentation

Format numeric values.

Description

Format numeric values.

Usage

formatF(x, digits = 3, nsmall = digits)

Arguments

x

A number or numeric vector.

digits, nsmall

Number of decimal places of output. Default is 3.

Value

Formatted character string.

See Also

format, formatN

Examples

formatF(pi, 20)


[Package bruceR version 0.8.0 Index]