Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Our World Statistics Day conversations have been a great reminder of how much statistics can inform our lives. Do you have an example of how statistics has made a difference in your life? Share your story with the Community!
I am trying to format some numbers in a window for an interactive display. I am looking for something like the Format("Best",6) function for columns, but I haven't been able to find how to do that outside of a data table. The round() function isn't quite what I'm looking for because I want to allow the possibility of having very small numbers that would round to 0 if I used the round() function.
The problem with Enable(0) is that the output appears grayed out, hard to read. I recently had to format some numbers in a number col box, and had to resort to formatting them with format, and then using a string col box to display the output. Here's some sample code:
// Format numbers with commas
for(i =1, i <=nrows(num_list), i++,
string_list[i]=format(num_list[i],"Fixed Dec", Use thousands separator(1),13,0);
nw =new window("Test",
table box("Formatted Numbers",
scb =string col box("Numbers", string_list);
scb <<set justify(right);
By the way the format command Use thousands separator(1) doesn't work in JMP 11. Any idea how to get that to work?