Hallo liebe Community, ich weise einer Spalte das Format mit zwei Dezimalstellen zu, aber wenn ich diesen Wert extrahiere, werden immer noch drei Dezimalstellen angezeigt. Ich würde mich über Ihren Beitrag freuen. Hier ist ein Beispiel:
// Open Data Table: Antibiotic MICs.jmp
// → Data Table( "Antibiotic MICs" )
Open( "$SAMPLE_DATA/Antibiotic MICs.jmp" );
// Standardize column attributes-The main idea is the format= Fixed Dec, 10, 2-show two decimal points
Local( {old dt = Current Data Table()},
Current Data Table( Data Table( "Antibiotic MICs" ) );
For Each( {col, index}, {:streptomycin, :neomycin},
col << Format( "Fixed Dec", 10, 2 )
);
Current Data Table( old dt );
);
rowNum = 3;
colAntib = Column( Data Table( "Antibiotic MICs" ), "neomycin");
//colAntib << Format( "Fixed Dec", 10, 2 );-this also is not working
colAntibVal = colAntib[ rowNum ]; //it is showing 0.007, three decimal points