Learn R Programming

epade (version 0.2.2)

round.ade: A round function

Description

round a numeric value for pretty printing.

Usage

round.ade(x, digits = 0)

Arguments

Value

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

Details

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

See Also

format_p.ade

Examples

Run this code
round.ade(13.1415, 2)
round.ade(3, 3)

Run the code above in your browser using DataLab