It probably depends on what you're using to generate the summary statistics. If you use -summarize- then the statistics are returned as scalars. You can see what's been returned using the command -return list-
As you can see, this gives you quite a lot more information than the original -summarize- command. You can then use -display- to format these numbers however you like. For example if I wanted to see the SD with 1 decimal place:
. display %2.1f r(sd)
See -help format- to guide you in choosing a format that will suit your needs.