System::Decimal::Truncate 方法
Decimal::Truncate method
返回表示一个值的 Decimal 对象,该值的整数部分等于指定的 Decimal 对象所表示的值的整数部分,并且所有小数位均被舍弃。
static Decimal System::Decimal::Truncate(const Decimal &d)
| Parameter | Type | 描述 |
|---|---|---|
| d | const Decimal& | 十进制数 |
ReturnValue
一个表示十进制值的 Decimal 对象,其整数部分等于指定值的整数部分,且所有小数位均为 0。
另见
- Class Decimal
- Class Decimal
- Namespace System
- Library Aspose.Page for C++