This is a simple question but it is starting to annoy me that I cant find a solution....
I would like to be able to keep the 0.0 when using it as an output when usin
You can use sprintf():
sprintf()
paste0("x", sprintf("%.1f", y), "x")