Class: DeltaRecord

Inherits:
BiffRecord show all
Defined in:
lib/surpass/biff_record.rb

Overview

This record is part of the Calculation Settings Block. It stores the maximum change of the result to exit an iteration.

Record DELTA, BIFF2-BIFF8:

Offset Size Contents 0 8 Maximum change in iteration

(IEEE 754 floating-point value,
 64bit double precision)

Constant Summary collapse

RECORD_ID =
0x010

Constants inherited from BiffRecord

BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID

Instance Attribute Summary

Attributes inherited from BiffRecord

#record_data

Instance Method Summary collapse

Methods inherited from BiffRecord

#record_header, #to_biff

Constructor Details

#initialize(delta) ⇒ DeltaRecord

Returns a new instance of DeltaRecord.



1580
1581
1582
# File 'lib/surpass/biff_record.rb', line 1580

def initialize(delta)
  @record_data = [delta].pack('E')
end