RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Currency::== Operator (Currency&)

Tests for equality between the System::Currency::Currency object’s value and a specified value.

Pascal
operator ==(const rhs: Currency&);
operator ==(rhs: Integer);
operator ==(rhs: double);
C++
__fastcall bool operator ==(const Currency& rhs) const;
__fastcall bool operator ==(int rhs) const;
__fastcall bool operator ==(double rhs) const;

The == System::Currency::== compares the value of the System::Currency::Currency object with the value specified by the rhs operand. If the two values are the same, the System::Currency::== returns true. If the values differ, the System::Currency::== returns false. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!