I am looking for a solution but could not find a solution yet. Really basic, i want R to always round up my numbers until two decimal places so
2,3421 should be rounded to 2,35
a <- 2.3423
format(round(a,digits=2),nsmall=2)
still gives
2.34
I am new to R and related topics always seemed to be a little different.
Thanks for any help.