此插件可以輕鬆設置數據表中顯示的數據的可見精度。數據沒有以任何方式改變,唯一改變的是可見的精度。例如,如果一列有 9 位精度的數據,您可以使 3 位精度可見,但原來的 9 位仍然存在。在這種情況下,“精度位數”是指小數點右側的位數。
您實際上並不需要加載項來執行此操作。可以使用列屬性更改列的格式。這可以使用“標準化屬性”一次在多列上完成。該視頻展示瞭如何使用所有三種方法執行此操作:1) 使用加載項,2) 設置列屬性,以及 3) 使用標準化屬性。
考慮到這可以使用標準的 JMP 菜單命令輕鬆完成,也許這篇文章最有用的地方是將其視為 JMP 腳本的說明以及如何編寫列對話框腳本(選擇特定的列進行操作)。考慮到這一點,我在這篇文章中包含了 JSL 代碼。
如果要加載插件,只需將插件文件下載到您的計算機並使用 JMP 打開文件即可。然後 JMP 將詢問您是否要安裝插件。
用戶界面如下所示:

這是上述所有三種方法的簡短演示視頻:
這是加載項使用的 JSL 代碼:
/*
Routine to set column precision on columns selected by a column dialog box.
Hyde Miller
JMP Systems Engineer
10/28/20
*/
Names Default to Here( 1 );
disclaimer = Expr(
New Window( "License Agreement",
Modal,
Outline Box( "License Agreement for Corrective Code or Additional Functionality",
H List Box(
Spacer Box( Size( 50, 50 ) ),
V Scroll Box(
Size( 500 ),
Flexible( 1 ),
Text Box(
"SAS INSTITUTE INC. IS PROVIDING YOU WITH THE COMPUTER SOFTWARE CODE INCLUDED WITH THIS AGREEMENT (\!"CODE\!") ON AN \!"AS IS\!" BASIS, AND AUTHORIZES YOU TO USE THE CODE SUBJECT TO THE TERMS HEREOF. BY USING THE CODE, YOU AGREE TO THESE TERMS. YOUR USE OF THE CODE IS AT YOUR OWN RISK. SAS INSTITUTE INC. MAKES NO REPRESENTATION OR WARRANTY, EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT AND TITLE, WITH RESPECT TO THE CODE.
The Code is intended to be used solely as part of a product (\!"Software\!") you currently have licensed from SAS or one of its subsidiaries or authorized agents (\!"SAS\!"). The Code is designed to either correct an error in the Software or to add functionality to the Software, but has not necessarily been tested. Accordingly, SAS makes no representation or warranty that the Code will operate error-free. SAS is under no obligation to maintain
or support the Code.
Neither SAS nor its licensors shall be liable to you or any third party for any general, special, direct, indirect, consequential, incidental or other damages whatsoever arising out of or related to your use or inability to use the Code, even if SAS has been advised of the possibility of such damages. Except as otherwise provided above, the Code is governed by the same agreement that governs the Software. If you do not have an existing agreement with SAS governing the Software, you may not use the Code. (SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies.)
",
<<SET wrap=""></SET>