round_down: round_down

Description Usage Arguments Examples

View source: R/utils.R

Description

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

Usage

1
round_down(x, to = 1000)

Arguments

x

numeric or integer

to

numeric or integer

Examples

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

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