round.ade: A round function

round_n.adeR Documentation

A round function

Description

round a numeric value for pretty printing.

Usage

round_n.ade(x, digits = 0)

Arguments

x

a numeric R object

digits

how many digits are to be shown after decimal?

Details

the function print zeros at the end of a number, to show the precision of rounding

Value

An object of similar structure to x containing character representations of the elements of x in a rounded format

See Also

format_p.ade

Examples

round_n.ade(13.1415, 2)
round_n.ade(3, 3)

epade documentation built on Oct. 29, 2022, 1:14 a.m.