powered by
Function to present a value with correct digits and trailing zero
out.digits(x, dig = 3)
is the value
is the number of significant digits
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
if (FALSE) { out.digits(1234) }
Run the code above in your browser using DataLab