iround: iround

View source: R/CodeAndRoll2.R

iroundR Documentation

iround

Description

Rounds a value to the significant amount of digits. Its a wrapper for signif().

Usage

iround(x, digitz = 3)

Arguments

x

Unrounded number.

digitz

Number of digits to keep. 3 by default.

Examples

iround(x = 2.3232, digitz = 3)


vertesy/CodeAndRoll2 documentation built on Nov. 20, 2024, 5:23 a.m.