Class: NumberRecord

Inherits:
BiffRecord show all
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

#record_data

Instance Method Summary collapse

Methods inherited from BiffRecord

#record_header, #to_biff

Constructor Details

#initialize(row, col, xf_index, number) ⇒ NumberRecord

Returns a new instance of NumberRecord.



1373
1374
1375
# File 'lib/surpass/biff_record.rb', line 1373

def initialize(row, col, xf_index, number)
  @record_data = [row, col, xf_index, number].pack('v3E')
end