回复:匯總表中的小數位完美,有效!謝謝。
回复:匯總表中的小數位Get Property 和 Set Property 不是用於設置和退出格式的函數。 使用“格式”和“獲取格式”消息。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
Show( dt:weight << get format );
dt:weight << Format( "Fixed Dec", 12, 6 );
Show( dt:weight << get format );
回复:匯總表中的小數位你好@txnelson , 你能告訴我如何將 get 格式應用到新列中嗎?例如
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
dtformat= dt:weight << get format );
dt:weight << dtformat; (<FONT face="arial black,avant garde" color="#FF0000"><STRONG>This is not working</STRONG></FONT>)
Show( dt:weight << get format );
回复:匯總表中的小數位這是我處理這個問題的老派方法。我相信其他人可能有更直接的處理方式。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
dtformat= char(dt:weight << get format) ;
// Show the current format
Show( dt:weight << get format );
// Change the format and display the change
dt:weight << format("engineering");
Show( dt:weight << get format );
// Set the format back to the original format
eval(parse("dt:weight << " || dtformat || ";" ));
Show( dt:weight << get format );匯總表中的小數位你好,
我在總結一個jmp數據表。 在匯總表中,我希望列的小數位保留到 4。
但是,jmp 會截斷小數點後的所有內容。

當我嘗試使用 jsl 檢索列的格式時,它說格式為空。
dt:Name("Median(A)")<< get property("Format");//Empty
dt:Name("Median(A)")<<SET property=""></SET>
通過代碼應用格式不起作用。
但是,如果我通過列信息對話框手動執行此操作,通過指定小數點,它確實有效。
我有 50 列,我希望在選擇它們後對這種十進制格式進行編碼。
任何幫助將不勝感激。
大規模定制質量與工藝工程