Hey everyone,
I have the following question out of curiosity, as I will solve it another way but would be interested whether the following is possible:
I have postal codes, where some are starting with a 0. I would like to convert string into numeric.
Using the real- function I get the following problem:
As one can see the numeric values are now wrong as some would have to start with a zero which the real-function does not count.
Does anybody know how to solve this problem without going an other way.
Would be interested in any ideas.
Thanks and best wishes
Tobi
I have the following question out of curiosity, as I will solve it another way but would be interested whether the following is possible:
I have postal codes, where some are starting with a 0. I would like to convert string into numeric.
Using the real- function I get the following problem:
Code:
1665 "01665" 1665 "01665" 1665 "01665" 33154 "33154" 33154 "33154"
As one can see the numeric values are now wrong as some would have to start with a zero which the real-function does not count.
Does anybody know how to solve this problem without going an other way.
Would be interested in any ideas.
Thanks and best wishes
Tobi
Comment