BiffNumberRecord Struct
Definition
Represents a decoded NUMBER record: a cell holding an IEEE 754 double-precision value.
public readonly struct BiffNumberRecord : IEquatable<BiffNumberRecord>
- Implements
- Inherited Members
- Extension Methods
Remarks
The record identifier is Number. The payload is fourteen bytes in both versions: the row, column, and extended-format index as 16-bit values, then the value as a little-endian IEEE 754 double.
Constructors
BiffNumberRecord(int, int, ushort, double)
Represents a decoded NUMBER record: a cell holding an IEEE 754 double-precision value.
public BiffNumberRecord(int Row, int Column, ushort XfIndex, double Value)
Parameters
RowintThe zero-based row index.
ColumnintThe zero-based column index.
XfIndexushortThe extended-format index of the cell.
ValuedoubleThe cell value.
Remarks
The record identifier is Number. The payload is fourteen bytes in both versions: the row, column, and extended-format index as 16-bit values, then the value as a little-endian IEEE 754 double.
- See Also
Properties
Column
The zero-based column index.
public int Column { get; init; }
Property Value
Row
The zero-based row index.
public int Row { get; init; }
Property Value
Value
The cell value.
public double Value { get; init; }
Property Value
XfIndex
The extended-format index of the cell.
public ushort XfIndex { get; init; }
Property Value
Methods
Deconstruct(out int, out int, out ushort, out double)
public void Deconstruct(out int Row, out int Column, out ushort XfIndex, out double Value)
Parameters
Equals(BiffNumberRecord)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BiffNumberRecord other)
Parameters
otherBiffNumberRecordAn object to compare with this object.
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(BiffNumberRecord, BiffNumberRecord)
public static bool operator ==(BiffNumberRecord left, BiffNumberRecord right)
Parameters
leftBiffNumberRecordrightBiffNumberRecord
Returns
operator !=(BiffNumberRecord, BiffNumberRecord)
public static bool operator !=(BiffNumberRecord left, BiffNumberRecord right)
Parameters
leftBiffNumberRecordrightBiffNumberRecord
Returns
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |