x <- -18 y = as.integer(x) print(y)
## [1] -18
z = as.double(x) print(z)
k = abs(x) print(k)
## [1] 18
round(18.968, 2)
## [1] 18.97