[R] print only 2 digits of number

Christian Schoder schoc152 at newschool.edu
Thu Sep 30 04:18:31 CEST 2010


hi R-users!

does anyone know how I can access/print only the first two digits of a
number? if i have the number 23732, i would like to get 23. if i have
355 i would like to get 35. if i have 4 i would like to get 40. 

thanks for your help!

christian



More information about the R-help mailing list