powered by
format
tabular
latexNumeric(chars, minus = TRUE, leftpad = TRUE, rightpad = TRUE, mathmode = TRUE)
chars
latexNumeric(format(c(1.1,-1,10,-10)))
Run the code above in your browser using DataLab