ourMELONS/R/omaRound.R
Waldir Leoncio fca9caa731 Restyled files
Ran through styler::style_dir() in the R and tests directories in preparation for #23.
2021-11-10 14:25:50 +01:00

7 lines
157 B
R
Raw Blame History

omaRound <- function(num) {
# Py<50>rist<73><74> luvun num 1 desimaalin tarkkuuteen
num <- num * 10
num <- round(num)
num2 <- num / 10
return(num2)
}