pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: re changing variable types


From: Ben Pfaff
Subject: Re: re changing variable types
Date: Thu, 17 Feb 2011 07:17:08 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Debora Randall <address@hidden> writes:

> Thanks Ben.  I think the problem is that the person who coded the data has put
> in commas to separate the thousands.  This way, it is making it look non
> numeric.  I will get her to rechange this and try it again.

If that's the problem, then I think that you just need a
different command, something like this:

        COMPUTE newvar = NUMBER(COMMA40.0, oldvar).
        EXECUTE.
-- 
Ben Pfaff 
http://benpfaff.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]