format_num <- function(input, decimals){ input <- round(input, decimals) output <- sprintf(paste("%.",decimals,"f", sep=''), input) return(output) }
There was an error while loading. Please reload this page.