[R] POSIX time conversion doesn't display digit
rhelpacc at gmail.com
Sun Aug 30 05:37:32 CEST 2009
I have the following string that I converted to a POSIXct:
> a <- "2009-08-24 10:00:00.213"
> a.p <- strptime(a,"%Y-%m-%d %H:%M:%OS")
I can't seem to get the decimal fraction of .213 out by casting to
double or numeric. Is there anyway to make sure that POSIXct spits
that out? Thank you.
More information about the R-help