round_sprintf: Round with sprintf formatting

View source: R/helper.R

round_sprintfR Documentation

Round with sprintf formatting

Description

Rounds values using sprintf for precise decimal formatting. Used internally by psthr0().

Usage

round_sprintf(value, digits)

Arguments

value

Numeric value to round

digits

Number of decimal places

Value

Character string with exactly 'digits' decimal places


reportRmd documentation built on March 20, 2026, 5:06 p.m.