decimal_ceiling: Rounding of decimals

Description Usage Arguments Value Examples

View source: R/decimal_ceiling.R

Description

Takes a numeric vector x and returns a numeric vector containing the smallest numerics with digits places after the decimal not less than the corresponding elements of x.

Usage

1
decimal_ceiling(x, digits = 1)

Arguments

x

A numeric vector.

digits

The desired number of digits after the decimal point.

Value

A numeric vector.

Examples

1
decimal_ceiling(x = 10.12345, digits = 3)

ConGibbs10/utilsGibbs documentation built on Jan. 7, 2022, 1:03 p.m.