Skip to contents

Applies the ceiling() function to a number with precision controlled by number of digits.

Usage

ceiling_digit(x, digits = 0)

Arguments

x

A numeric value or vector.

digits

Integer (default: 0). Number of decimal digits to retain.

Value

A numeric vector with values ceiled to specified digits.