Class: NumberRecord
- Inherits:
-
BiffRecord
- Object
- BiffRecord
- NumberRecord
- Defined in:
- lib/surpass/biff_record.rb
Overview
This record represents a cell that contains an IEEE-754 floating-point value.
Constant Summary collapse
- RECORD_ID =
0x0203
Constants inherited from BiffRecord
BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID
Instance Attribute Summary
Attributes inherited from BiffRecord
Instance Method Summary collapse
-
#initialize(row, col, xf_index, number) ⇒ NumberRecord
constructor
A new instance of NumberRecord.
Methods inherited from BiffRecord
Constructor Details
#initialize(row, col, xf_index, number) ⇒ NumberRecord
Returns a new instance of NumberRecord.
1376 1377 1378 |
# File 'lib/surpass/biff_record.rb', line 1376 def initialize(row, col, xf_index, number) @record_data = [row, col, xf_index, number].pack('v3E') end |