|
clear
input ///
str8 firm double firmid
企业A 1000000000000000
企业B 0002222293029000
end
list
tostring firmid, format(%016.0f) replace
list
. clear
. input ///
> str8 firm double firmid
firm firmid
1. 企业A 1000000000000000
2. 企业B 0002222293029000
3. end
.
. list
+-------------------+
| firm firmid |
|-------------------|
1. | 企业A 1.000e+15 |
2. | 企业B 2.222e+12 |
+-------------------+
.
. tostring firmid, format(%016.0f) replace
firmid was double now str16
. list
+--------------------------+
| firm firmid |
|--------------------------|
1. | 企业A 1000000000000000 |
2. | 企业B 0002222293029000 |
+--------------------------+
.
|