For example if i have
a <- 10203.102
integer: 10203 decimal: 0.102
I would like a procedure to store the parts of the number into two separate vectors, the same as if I do the following:
integerpart <- c(1, 0, 2, 0, 3)
decimalpart <- c(0, 1, 0, 2)