cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
TheSource
Level II

Chang default numeric format

I have a fixed workstream where I import an excel file into JMP12. This file consists of mixed data type columns. My issue is with the format of the numeric columns. By default, JMP formats the column as "best" which is anything but (e.g. 1e-9 is displayed as 0.000000001). Is there a way to change the default number format to engineering rather than best? 

1 REPLY 1
txnelson
Super User

Re: Chang default numeric format

I have not seen such an option, however, interactively, you can do a one step "Standardize Attributes"  or use the following script to make the changes:

Names Default To Here( 1 );
dt = Current Data Table();
colNames = dt << get column names( continuous, string );
For( i = 1, i <= N Items( colNames ), i++,
	Column( dt, colNames[i] ) << format( "scientific", 10, 3 )
);
Jim

Recommended Articles