Learn R Programming

roundyh (version 0.1.0)

roundx: A rounding function

Description

A rounding function

Usage

roundx(n, dp)

Value

rounded number

Arguments

n

a number to round

dp

decimal place to round to

Examples

Run this code
roundx(10.111, 1)

Run the code above in your browser using DataLab