Metodo System::Decimal::CompareTo

Decimal::CompareTo method

Determina se il valore rappresentato dall’oggetto corrente è minore, uguale o maggiore del valore rappresentato dall’oggetto specificato.

int System::Decimal::CompareTo(const Decimal &d) const
ParametroTipoDescrizione
dconst Decimal&Il comparando

ReturnValue

-1 if the value represented by the current object is less than the value represented by d; 0 if the values are equal; 1 if the value represented by the current object is greater than the value represented by d

Vedi anche