closest_1_0s: Find the closest multiple of 10 to a given number.

View source: R/Utils.R

closest_1_0sR Documentation

Find the closest multiple of 10 to a given number.

Description

This function takes a numeric input x and returns the closest multiple of 10 to x.

Usage

closest_1_0s(x)

Arguments

x

a numeric input.

Value

the closest multiple of 10 to x.

Examples

closest_1_0s(12345)
closest_1_0s(6.75)

eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.