floating.floor: Flooring to floating values

View source: R/floating.floor.R

floating.floorR Documentation

Flooring to floating values

Description

Computes the floor of the given value but with any number of digits (to the closest floating number of given digits).

Usage

floating.floor(num, digits = 1)

Arguments

num

A single number or a numeric vector.

digits

A single integer indicating the maximum number of digits required.

Value

A floored number or numeric vector.


sebastian-gregoricchio/Rseb documentation built on May 15, 2024, 5:45 a.m.