Metodo System::Decimal::Truncate
Decimal::Truncate method
Restituisce l’oggetto Decimal che rappresenta un valore la cui parte intera è uguale a quella del valore rappresentato dall’oggetto Decimal specificato, con tutte le cifre frazionarie scartate.
static Decimal System::Decimal::Truncate(const Decimal &d)
| Parametro | Tipo | Descrizione |
|---|---|---|
| d | const Decimal& | Un numero decimale |
ReturnValue
Un oggetto Decimal che rappresenta un valore decimale la cui parte intera è uguale a quella del valore specificato e le cifre frazionarie sono tutte 0.
Vedi anche
- Class Decimal
- Class Decimal
- Namespace System
- Library Aspose.Font for C++