此运算符比较两 CComCurrency 对象确定相等或大。
语法
bool operator >=(
const CComCurrency & cur
) const;
参数
- cur
CComCurrency 对象。
返回值
返回 true,如果第一个对象大于或等于第二,否则 false 。
CComCurrency cur1(10, 5100);
CComCurrency cur2(10, 5000);
ATLASSERT(cur1 >= cur2);
要求
Header: atlcur.h
请参阅
CComCurrency Class
CComCurrency::operator >
CComCurrency::operator <
CComCurrency::operator <=