xl_round: Round Numbers Like Excel

Description Usage Arguments Examples

View source: R/xll_round.R

Description

Mimics the default rounding in Excel.

Usage

1
xl_round(x, digits = 0)

Arguments

x

numeric vector.

digits

integer indicating the number of decimal places.

Examples

1
xl_round(.5 + -2:4)

mps9506/ExcelRound documentation built on Feb. 1, 2020, 11:01 a.m.