[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Splitting numeric values

From   Maarten buis <>
Subject   Re: st: Splitting numeric values
Date   Mon, 23 Jul 2007 09:11:15 +0100 (BST)

--- Susan Olivia <> wrote:
> I have a numeric variable (call it id) that comes with 18 digits 

Mike just answerd your question. All I want to add is that if you store
this variable id as a numeric variable you won't store 18 digits, but 7
(the default) or 16 (if you specified that that variable is to be
stored as a double), see -help data types-. If you want to store all 18
digits you will have to make it a string. You can read more on this
issue here:

Hope this helps,

Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today* 
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index