cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

Chang default numeric format

TheSource
Level II

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