Name | Description | |
---|---|---|
PdfNumber Constructor | Overloaded. |
The following tables list the members exposed by PdfNumber.
Name | Description | |
---|---|---|
PdfNumber Constructor | Overloaded. |
Name | Description | |
---|---|---|
AsDouble | Converts the PdfNumber to double. | |
AsFloat | Converts the PdfNumber to float. | |
AsInt | Converts the PdfNumber to int. Note! The PdfNumber can contain a value does not fit into integer bounds, in this case result will be System.Int32.MinValue or System.Int32.MaxValue. |
Name | Description | |
---|---|---|
Create | Creates the PdfNumber object from nullable float value, returns PdfNull.Instance if value is null. | |
Equals | Overloaded. Determines whether the specified object is equal to the current object. | |
GetHashCode | Serves as the default hash function. | |
GetOrCreate | Creates a new PdfNumber or returns existing predefined PdfNumber object. | |
ToString | Overloaded. Converts a double value to a string. Note that a separate method ToString(Single,Int32) exists for converting float values, separate methods are needed to avoid rounding errors that may occur when converting doubles to floats and vice versa. The value to convert. The count of digits after decimal point. |
Equality | The equality operator. |
Explicit Type Conversion | Converts the double to the PdfNumber. |
Implicit Type Conversion | Converts the PdfNumber to a double. |
Inequality | The inequality operator. |