I have a number, for example 1.128347132904321674821 that I would like to show as only two decimal places when output to screen (or written to a file). How does one do that?
Looks to me like to would be something like
library(tutoR) format(1.128347132904321674821, 2)
Per a little online help.