The command is as follow:
Code:
set obs 1 gen a=12345.05 tostring a, gen(a1)
if I use command :
Code:
tostring a, gen(a1) force
Thank you very much for your concern and sincerely hope to get anyone's help.
Best wishes.
Specialized on Data processing, Data management Implementation plan, Data Collection tools - electronic and paper base, Data cleaning specifications, Data extraction, Data transformation, Data load, Analytical Datasets, and Data analysis. BJ Data Tech Solutions teaches on design and developing Electronic Data Collection Tools using CSPro, and STATA commands for data manipulation. Setting up Data Management systems using modern data technologies such as Relational Databases, C#, PHP and Android.
set obs 1 gen a=12345.05 tostring a, gen(a1)
tostring a, gen(a1) force
0 Response to Numbers cannot be correctly converted to strings by tostring command
Post a Comment