<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Setting the Decimal format in a Quantiles Table in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Setting-the-Decimal-format-in-a-Quantiles-Table/m-p/29142#M19310</link>
    <description>&lt;P&gt;I tried setting the format in the data column. The formatting did not proprogate to the analysis table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2016 17:24:59 GMT</pubDate>
    <dc:creator>Hegedus</dc:creator>
    <dc:date>2016-11-14T17:24:59Z</dc:date>
    <item>
      <title>Setting the Decimal format in a Quantiles Table</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-the-Decimal-format-in-a-Quantiles-Table/m-p/29075#M19280</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do fit Y by X with continuous and ordinal variables repectively. &amp;nbsp;No problem there and it produces a table with the quantiles and they are often to 6 decimal places. &amp;nbsp;I can adjust the formatting in each column seperately, but is there a shortcut that would do the table as a whole? &amp;nbsp;It is a bit of annoyance to do each column indivdually. &amp;nbsp;The usual shortcut for repeating the command (command on a Mac) does not seem to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 23:56:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-the-Decimal-format-in-a-Quantiles-Table/m-p/29075#M19280</guid>
      <dc:creator>Hegedus</dc:creator>
      <dc:date>2016-11-10T23:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Decimal format in a Quantiles Table</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-the-Decimal-format-in-a-Quantiles-Table/m-p/29125#M19299</link>
      <description>&lt;P&gt;I haven't found a shortcut and holding down cmd to broadcast the format command to all columnboxes seems not work, as you say.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The way I do it&amp;nbsp;is to double-click on a&amp;nbsp;numeric column to open the "Column Numeric Format dialogue, enter the desired format and then tab through the check boxes&amp;nbsp;while hitting&amp;nbsp;the return key&amp;nbsp;for each target&amp;nbsp;column (JMP12 for Mac).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;It is also of course possible to do with JSL. An example:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("$SAMPLE_DATA/Big Class.jmp");
ow = dt &amp;lt;&amp;lt; Oneway(Y(:height), X(:age), Quantiles(1));
// Set nr of decimals for all Number Col Boxes in a Table Box
i = 1;
While(
    Is Scriptable(Try(ncb = Report(ow)[Outline Box("Quantiles")][Number Col Box(i)])),
    ncb &amp;lt;&amp;lt; Set Format("Fixed Dec", 8, 1);
    i++;
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To apply it to any (current)&amp;nbsp;report, the code below could be used (run in script window or as a custom menu item).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
// Get list of Table Box(Outline) titles
L = {};
i = 1;
While(Is String(Try(L[i] = (r[Table Box(i)] &amp;lt;&amp;lt; parent) &amp;lt;&amp;lt; get title)), i++);
// Dialog to choose Table Box and numeric format
New Window("Set numeric format",
    &amp;lt;&amp;lt;modal,
    cb = Combo Box(L),
    Table Box(
        String Col Box("", {"Width", "Dec"}),
        nceb = Number Col Edit Box("", [8, 2])
    ),
    Button Box("OK",
        tb = cb &amp;lt;&amp;lt; get selected;
        {w, d} = nceb &amp;lt;&amp;lt; get;
    )
);
// Apply format to all num columns of Table
r = Current Report();
i = 1;
While(Is Scriptable(Try(ncb = r[Outline Box(tb)][Number Col Box(i)])),
    ncb &amp;lt;&amp;lt; Set Format("Fixed Dec", w, d);
    i++;
);&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2016 15:36:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-the-Decimal-format-in-a-Quantiles-Table/m-p/29125#M19299</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2016-11-13T15:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Decimal format in a Quantiles Table</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-the-Decimal-format-in-a-Quantiles-Table/m-p/29129#M19300</link>
      <description>&lt;P&gt;I think you should put this into the feature request bucket. &amp;nbsp;I think it is very common for the output of a table to have similar formatting across columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2016 16:27:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-the-Decimal-format-in-a-Quantiles-Table/m-p/29129#M19300</guid>
      <dc:creator>Hegedus</dc:creator>
      <dc:date>2016-11-13T16:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Decimal format in a Quantiles Table</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-the-Decimal-format-in-a-Quantiles-Table/m-p/29139#M19307</link>
      <description>&lt;P&gt;One thing you can try is to highlight all of the columns that you want to set the number of decimal places and then right click in one of the highlighted column headers and select "Standardize Attributes" . &amp;nbsp;From there select the drop down for Attributes and select "All". &amp;nbsp;This will highlight all of the attribute settings including setting the number of decimal places.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 16:16:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-the-Decimal-format-in-a-Quantiles-Table/m-p/29139#M19307</guid>
      <dc:creator>Bill_Worley</dc:creator>
      <dc:date>2016-11-14T16:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Decimal format in a Quantiles Table</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-the-Decimal-format-in-a-Quantiles-Table/m-p/29142#M19310</link>
      <description>&lt;P&gt;I tried setting the format in the data column. The formatting did not proprogate to the analysis table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 17:24:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-the-Decimal-format-in-a-Quantiles-Table/m-p/29142#M19310</guid>
      <dc:creator>Hegedus</dc:creator>
      <dc:date>2016-11-14T17:24:59Z</dc:date>
    </item>
  </channel>
</rss>

