first commit
This commit is contained in:
22
hrmsEjb/jxl/write/biff/DeltaRecord.java
Normal file
22
hrmsEjb/jxl/write/biff/DeltaRecord.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package jxl.write.biff;
|
||||
|
||||
import jxl.biff.DoubleHelper;
|
||||
import jxl.biff.Type;
|
||||
import jxl.biff.WritableRecordData;
|
||||
|
||||
class DeltaRecord extends WritableRecordData {
|
||||
private byte[] data;
|
||||
|
||||
private double iterationValue;
|
||||
|
||||
public DeltaRecord(double itval) {
|
||||
super(Type.DELTA);
|
||||
this.iterationValue = itval;
|
||||
this.data = new byte[8];
|
||||
}
|
||||
|
||||
public byte[] getData() {
|
||||
DoubleHelper.getIEEEBytes(this.iterationValue, this.data, 0);
|
||||
return this.data;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user