roundDown: Forcefully round a number down

View source: R/run_helpers.R

roundDownR Documentation

Forcefully round a number down

Description

Forces the rounding of the input to the next lower rounded value.

Usage

roundDown(input, to = 10)

Arguments

input

The value to be rounded.

to

The level of rounding to be applied (i.e. to=10 will round 14.8 to 10; to=1 will round i to 14).

Value

The rounded value


YuriNiella/RSP documentation built on Feb. 2, 2024, 5:03 a.m.