powered by
Convert a decimal number into exactly 4 decimal places without scientific notation.
fmt4(x)
A decimal number rounded into exactly 4 decimal places.
a decimal number.
Round a decimal number into exactly 4 decimal places without scientific notation.
fmtN
x <- sin (sample(c(1:5),1)) fmt4(x)
Run the code above in your browser using DataLab