System.Currency.operator /

From RAD Studio API Documentation
Jump to: navigation, search

C++

Currency __fastcall operator /(const Currency& rhs) const
Currency __fastcall operator /(int rhs) const
Currency __fastcall operator /(double rhs) const

Properties

Type Visibility Source Unit Parent
function public syscurr.h System Currency


Description

Divides the value of the Currency object by a specified value.

Use the operator / to divide the value of the Currency object by the value specified by the rhs operand.

Note that there are two related friend operator /s:

friend Currency __fastcall operator /(int lhs, const Currency& rhs);

divides the value of int lhs by the value of Currency object rhs and returns a new Currency object with the resulting value.

friend Currency __fastcalloperator /(double lhs, const Currency& rhs);

divides the value of double lhs by the value of Currency object rhs and returns a Currency object with the resulting value.

See Also