round_up: round_up

Description Usage Arguments Examples

View source: R/utils.R

Description

round a number up to the nearest multiple of the argument "to"

Usage

1
round_up(x, to = 1000)

Arguments

x

numeric or integer

to

numeric or integer

Examples

1
2
round_up(1412, to = 1000)
# [1] 2000

konradmayer/trlboku documentation built on July 3, 2020, 9:49 p.m.