COleCurrency

BOOL == (const COleCurrency&) const;

BOOL ! = (const COleCurrency&) const;

BOOL lt; (const COleCurrency &) const;

Gt BOOL; (const COleCurrency &) const;

BOOL lt; = (const COleCurrency & ) const;

Gt BOOL; = (const COleCurrency & ) const;

, true; 0.

nbsp; (, < =, >, > =) , . (==, ! =) .

COleCurrency curOne (3, 5000); nbsp; / / 3,5
COleCurrency curTwo(curOne); / / 3,5
BOOL b;
b = curOne == curTwo; / / 

curTwo.SetStatus(COleCurrency::invalid);
b = curOne == curTwo; / /  FALSE,  
b = curOne! = curTwo; / / ,  
b = curOne < curTwo; / /  FALSE,   
b = curOne > curTwo; / /  FALSE,   
b = curOne < = curTwo; / /  TRUE,   
b = curOne > = curTwo; / /  TRUE,   

  ASSERT .

COleCurrency |nbsp; |

.  COleCurrency::GetStatus

Index