Function to present a value with correct digits and trailing zero
Arguments
- x
is the value
- dig
is the number of significant digits
Details
This is a function to present a value with correct digits and trailing zero. Numbers >= 10000, or <= 0.0001 will be presented in scientific format
Examples
if (FALSE) { # \dontrun{
out.digits(1234)
} # }