Initializes a new instance of TdNumber from the data components that are passed in as several Int32 parameters.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Short _
)
'Usage
Dim data1 As Integer
Dim data2 As Integer
Dim data3 As Integer
Dim data4 As Integer
Dim data5 As Integer
Dim exponent As Short
Dim instance As New TdNumber(data1, data2, data3, data4, data5, exponent)
public TdNumber(
int ,
int ,
int ,
int ,
int ,
short
)
public:
TdNumber(
int ,
int ,
int ,
int ,
int ,
short
)
Parameters
- data1
- The least significant number component.
- data2
- The second least significant number component.
- data3
- The middle number component.
- data4
- The second most significant number component.
- data5
- The most significant number component.
- exponent
- The exponent of the number.
Exceptions
Exception | Description |
System.OverflowException | The number represented by the data components is too large to
be represented by a TdNumber. |
Requirements
Product | Versions | Platforms |
.NET | 6, 7 | Windows, Linux, MacOS |
.NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |
See Also