r - Keeping trailing zeros -


In R, I want to keep behind zero. For example, if I type

  round (5.2, 3)   

I should output the output to 5.200.

Can you help me

if it is for printing purposes , sprintf is what you are doing later:

  & gt; See  sprintf  for formatting details. "     

Comments

Popular posts from this blog

android - How can I execute default sms app? -

jquery .css('text-decoration') doesn't work from parents -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -