## Decimal::operator bool method


将当前对象所表示的值转换为布尔值。

```cpp
System::Decimal::operator bool() const
```


### ReturnValue

如果当前对象表示的值不为 0，则为 true；否则为 false。

## 另见

* Class [Decimal](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
