FormatValueNice: FormatValueNice

View source: R/FormatValueNice.r

FormatValueNiceR Documentation

FormatValueNice

Description

Format a numeric value for use in text. This function normally outputs the number formatted to 2dp; although it will increase the number of decimal places used if the number is so close to 0 that 2dp is rendered as 0.00.

Arguments

z

Number to format

zero.check

Check to see if the resulting displayed value is just 0.00, and increase the number of decimal places if so (default: TRUE)

digits

(default: NULL)

Author(s)

Matt Arnold


arnhew99/Jasper documentation built on Nov. 19, 2022, 2:46 p.m.