I have four 20 digits characters.
I want to convert characters to numeric.
I just converted using as.numeric function.
But four characters all same.
Why?
I need numeric. Is there a way?
tmp <- c("11240690100051000001", "11240690100051000002", "11240690100051000003", "11240690100051000004")
tmp1 <- as.numeric(tmp)
tmp1[1] == tmp1[2]
[1] TRUE
tmp1[1] == tmp1[3]
[1] TRUE
tmp1[1] == tmp1[4]
[1] TRUE