My dataset structure is as follow:
My row identifier should be a 15 digit one which I should get through the code below:
However, Stata gives me back the variable below, which is not displayed as %15.0f. How could I get it right?
Code:
uf mun dist subdist set 11 15 5 0 1 11 15 5 0 1 11 15 5 0 1 11 15 5 0 1 11 15 5 0 1 11 15 5 0 1 11 15 5 0 1 11 15 5 0 1 11 15 5 0 1 11 15 5 0 1
Code:
gen double setor = 100000000000000*uf + 1000000000000*mun + 10000000*dist + 100000*subdist + 1000*set format setor %15.0f
Code:
setor 1.11500005e+15 1.11500005e+15 1.11500005e+15 1.11500005e+15 1.11500005e+15 1.11500005e+15 1.11500005e+15 1.11500005e+15 1.11500005e+15 1.11500005e+15
Comment