bugPSPP - Bugs: bug #37790, CROSSTABS decimal places

 
 

bug #37790: CROSSTABS decimal places

Submitter:  John Darrington <jmd>
Submitted:  Fri 23 Nov 2012 07:18:45 AM UTC
   
 
Category:  Output Driver Severity:  3 - Ordinary
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 24 Nov 2012 07:24:59 PM UTC, comment #1: 

I pushed a fix.

Ben Pfaff <blp>
Group administrator
Fri 23 Nov 2012 07:18:45 AM UTC, original submission:  

Daniel Harper reports:

 crosstabs does not honour
the set format F8.0 statement.

No matter what format I specify the output is always in PCT9.1, ie 1
decimal place?

Test program:
DATA LIST TABLE /OUTCOME 1-4 (A) TYPE (F1).

BEGIN DATA.
Pass1
Fail1
Fail1
Pass0
Fail0
Fail1
Pass1
Fail1
Fail1
Pass0
Fail0
Fail1
Pass1
Fail1
Fail1
Pass0
Fail0
Fail1
Pass1
Fail1
Fail1
Pass0
Pass0
Pass0
Pass0
Pass0
Fail0
Fail1
END DATA.

SET FORMAT F8.2.

CROSSTAB
 /TABLE TYPE by OUTCOME
 /CELLS=ROW
.

Output is at 1 decimal place, not matter what I set as the Format type.

John Darrington <jmd>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by jmd (Submitted the item)
  • -email is unavailable- added by jmd
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-11-24 blp StatusNone Fixed
        Open/ClosedOpen Closed
    2012-11-23 jmd Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code