I am having an issue with formatting the values in the table while using asdoc and tabstat. for example,

My samples were in millions so when I wanted to make a descriptive statistics table, the output file followed the default format %9.0g, regardless of what format command I added. the following code was giving me an exponential value like 4.828e+09 instead of the numeric value 4,828,000,000.

Code:
asdoc tabstat variable1, statistics( N mean ) format(%15.0gc) save(summary.doc) title(Sample Table)
if i use
Code:
  
 tabstat variable1, statistics( N mean ) format(%15.0gc)
I get the correctly formatted stata output with comma.

I would be grateful if anyone can direct me on how to correctly format numeric values in asdoc. Thanks.