Este complemento facilita la configuración de la precisión visible de los datos que se muestran en una tabla de datos.Los datos no se alteran de ninguna manera, lo único que cambia es la precisión que es visible.Por ejemplo, si una columna tenía datos con 9 dígitos de precisión, puede hacer visibles 3 dígitos de precisión, pero los 9 dígitos originales aún están allí.En este contexto, "dígitos de precisión" se refiere al número de dígitos a la derecha del punto decimal.
Realmente no necesita un complemento para hacer esto.El formato de una columna se puede cambiar usando las propiedades de la columna.Esto se puede hacer en muchas columnas a la vez usando "Atributos estandarizados".El video muestra cómo hacer esto usando los tres métodos: 1) usando el complemento, 2) configurando una propiedad de columna y 3) usando atributos estandarizados.
Teniendo en cuenta que esto se puede hacer fácilmente usando los comandos de menú estándar de JMP, quizás lo más útil de esta publicación es considerarla como una ilustración de las secuencias de comandos de JMP y cómo crear una secuencia de comandos en un cuadro de diálogo de columna (seleccionar columnas específicas para hacer algo con ellas).Con eso en mente, he incluido el código JSL en esta publicación.
Si desea cargar el complemento, simplemente descargue el archivo del complemento en su computadora y use JMP para abrir el archivo.Luego, JMP le preguntará si desea instalar el complemento.
Así es como se ve la interfaz de usuario:

Aquí hay un breve video de demostración de los tres métodos mencionados anteriormente:
Este es el código JSL utilizado por el complemento:
/*
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>