System::Decimal::Truncate method
Decimal::Truncate method
Returns the Decimal object representing a value that has integral part equal to that of the value represented by the specified Decimal object of the with all fractional digits discarded.
static Decimal System::Decimal::Truncate(const Decimal &d)
Parameter | Type | Description |
---|---|---|
d | const Decimal& | A decimal number |
ReturnValue
A Decimal object representing a decimal value whose integral part is equal to that of the specified value and fractional digits are all 0.
See Also
- Class Decimal
- Class Decimal
- Namespace System
- Library Aspose.TeX for C++