The PIDM column is %10.0g. However, new ID column is %9.0g when I used 'gen ID = PIDM'.
I tried format %10.0g and %10.0f, but the ID has been changed and is different with PIDM. See below.
It should be simple copy but I can't explain or fix this issue. Would you advise me what I did wrong?
Thanks.
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input long PIDM 70056666 70065533 70075297 70153329 70197535 70222194 70228218 70235809 70290675 70293111 70296647 70310470 70313455 70373648 70404506 70413121 70420725 70422908 70424551 70427177 end
Array
0 Response to numeric format & changed value
Post a Comment