回复:汇总表中的小数位完美,有效!谢谢。
回复:汇总表中的小数位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 列,我希望在选择它们后对这种十进制格式进行编码。
任何帮助将不胜感激。
大规模定制质量与工艺工程