bugPSPP - Bugs: bug #37790, CROSSTABS decimal places

 
 

bug #37790: CROSSTABS decimal places

Submitted by:  John Darrington <jmd>
Submitted on:  Fri 23 Nov 2012 07:18:45 AM UTC  
 
Category: Output DriverSeverity: 3 - Ordinary
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

I pushed a fix.

Ben Pfaff <blp>
Project 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>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 24 Nov 2012 07:24:59 PM UTCblpStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 23 Nov 2012 07:18:45 AM UTCjmdCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1