Login or Register
Log in with
Forums
FAQ
Search in titles only
Search in General only
Advanced Search
Search
Home
Forums
Forums for Discussing Stata
General
You are not logged in. You can browse but not post. Login or
Register
by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the
FAQ
.
Announcement
Collapse
No announcement yet.
X
Collapse
Posts
Latest Activity
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Filtered by:
Clear All
new posts
Kerri Agnew
Join Date:
Jul 2014
Posts:
36
#1
1000 separator
30 Apr 2016, 04:43
How do I format a variable to read, for example, 10,000 instead on 10000?
Rich Goldstein
Join Date:
Mar 2014
Posts:
4262
#2
30 Apr 2016, 06:06
if you look at "help format" you will see that adding a "c" to the end of the format command will do it
Code:
. di %7.0fc 10000 10,000
Comment
Post
Cancel
Previous
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment