Parameters
- input
- The TdNumber that is to be converted to a double precision number.
Return Value
A double precision value that is equivalent to the specified TdNumber is returned.
Exception | Description |
---|---|
TdException | The value of the TdNumber is Null. |
When a TdNumber is converted into s System.Double a rounding error may occur.
The reason for this is that the mantissa of a Double has a precision of 16 digits. A TdNumber has a precision of 40 digits. When a TdNumber is converted to a System.Double, it will be truncated at the 17th position from the left.
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019