sf_exp: display signif of exponentiated number nicely

View source: R/auxiliary.R

sf_expR Documentation

display signif of exponentiated number nicely

Description

display signif of exponentiated number nicely

Usage

sf_exp(x, digits)

Arguments

x

a real number

digits

positive integer, number of significant figures

Details

significant figure computed after subtracting 1. keep trailing zeros, not use scientific notation

Value

a string


wangtengyao/putils documentation built on Nov. 26, 2024, 2:01 a.m.