In This Topic
LtXmlComHelp20Lib.Decimal Class
A class to hold arbitrarily long decimal number with a fixed presision. The class is designed primarily as a container for such numbers, and the additional functionality (addition/subtraction/division/multiplication) is provided on an unsupported basis. It is recommended that such numbers are extracted from this class in the form of a Long or string, and used in this form.
|
|
Members |
Description |
|
|
|
Add |
Adds a Decimal to the current value |
|
|
|
AsBigInteger |
Converts the current value to a BigInteger. |
|
|
|
AsDouble |
Converts the current value to a double. |
|
|
|
AsLong |
Converts the current value to a long. |
|
|
|
AsString |
Converts the current value to a string. |
|
|
|
Compare |
Compares this objects data with another objects |
|
|
|
Divide |
Divides the current value by a Decimal . |
|
|
|
Equals |
Compares this objects data with another objects |
|
|
|
FromDecimal |
Allows the value of the object to be set |
|
|
|
FromBigInteger |
Allows the value of the object to be set |
|
|
|
FromDouble |
Allows the value of the object to be set |
|
|
|
FromLong |
Allows the value of the object to be set |
|
|
|
FromString |
Allows the value of the object to be set |
|
|
|
Multiply |
Multiples a Decimal with the current value |
|
|
|
Negate |
Multiples the object by -1 |
|
|
|
Subtract |
Subtracts a Decimal from the current value |
|
|
|
MaxDecimalPlaces |
Global - Sets the precsion of the library (by default its 30 decimal places) |
|